action #124550
closedcoordination #121855: [epic] Agama web interactive installation
PoC running Playwright tests directly from the Live ISO in openQA
Description
Motivation¶
Yam squad needs to kick off web testing now that we have this way to run a testing framework using the installer itself.
See documentation created by YaST team:
https://github.com/openSUSE/agama/tree/master/playwright#running-tests-directly-from-the-live-iso
We just need to click on Install for this PoC with RUN_INSTALLATION=1
and probably we don't need to create any Playwright test but to use the existing one packaged take_screenshots.
Scope¶
x86_64 and aarch64
Acceptance criteria¶
AC1: Create PoC in Agama Development group in O3 which handle interactive installation using Playwright
AC2: Installation actions should be as minimal as possible
Additional information¶
https://playwright.dev/docs/intro
As follow-up we need to investigate further about where to store the test and sync with YaST squad, most likely will be an additional repo to use, for for this ticket is out of scope, we need the minimum there to install and see that all ok using this mechanism.
Notice that you will need to move to fixed folder in O3 the correct iso for Playwright:
https://build.opensuse.org/package/binaries/YaST:Head:Agama/agama-live:default-Playwright/images
For doing that you will need permissions (you can ask Yam squad for it): https://progress.opensuse.org/projects/openqav3/wiki/#Accessing-the-o3-infrastructure
Updated by JERiveraMoya almost 2 years ago
- Tracker changed from coordination to action
Updated by JERiveraMoya over 1 year ago
- Tags set to qe-yam-refinement
- Target version deleted (
Current)
Updated by JERiveraMoya over 1 year ago
- Tags deleted (
qe-yam-refinement) - Status changed from Workable to New
- Priority changed from Normal to Low
We need to revisit this and sync with the current state.
Updated by JERiveraMoya over 1 year ago
- Subject changed from Add some additional small test with Playwright to get familiar to PoC running Playwright tests directly from the Live ISO in openQA
- Description updated (diff)
- Status changed from New to Workable
- Priority changed from Low to High
- Target version set to Current
Updated by leli over 1 year ago
- Status changed from Workable to In Progress
- Assignee set to leli
Updated by leli over 1 year ago
https://openqa.opensuse.org/tests/overview?distri=alp&version=1.0.0&build=4.35&groupid=96
The '--headed' is not supported and it suggest to use 'headless' for playright, (SCREENSHOT_MODE=1 RUN_INSTALLATION=1 BASE_URL=https://localhost:9090 npx playwright test --trace on --headed --project chromium take_screenshots), so removed the '--headed' then test passed.