action #133073
closedcoordination #121855: [epic] Agama web interactive installation
Create test and POM for selecting another installation device
Description
Motivation¶
Agama already allows to choose among the different devices to install in our system.
Scope¶
Dolomite and Tumbleweed, all architectures feasible at the moment.
Acceptance criteria¶
AC1: Create new scenarios agama_dolomite_select_installation_device and agama_tumbleweed_select_installation_device
AC2: Use POM to map installation device page
AC3: Validate in the running system that the second disk was used
Additional information¶
As we can only rely in UUIDs specially for the future in non-qemu architectures where the name of the disks /dev/vda /dev/vdb doesn't garantee that matching during and after installation, we might just check add a disk with different but size and search for it as the one that contains the root file system.
Playwright documentation: https://playwright.dev/docs/intro
Playwright documentation - Page Object Model: https://playwright.dev/docs/pom
How to use playwright with Agama: https://github.com/openSUSE/agama/blob/master/playwright/README.md
Yam repo for Playwright tests: https://github.com/jknphy/e2e-agama-playwright
Notice that for development in your system, you will need to install playwright and run npx playwright test
, due to in the live iso the command to run is different as described in doc above, playwright test
.
Updated by JRivrain over 1 year ago
- Status changed from Workable to In Progress
- Assignee set to JRivrain
Updated by JERiveraMoya over 1 year ago
Updated by JRivrain about 1 year ago
Playwright test working, but not openqa test: I can't find a way to boot on second disk directly in openqa, the livecd's grub menu element "boot from disk" does not allow it either. Using BOOTFROM=d does not work, as it "tries" to boot from the first disk. BOOTFROM=e dos not exit in qemu.pm. Using eject_cd does not work either, as grub is not installed on first disk.
Updated by JRivrain about 1 year ago
Problem mentioned in previous comment was due to the LIVECD variables. But then the UI changed, I had to change things. PR works right now.
Updated by JRivrain about 1 year ago
waiting for next build before marking as resolved.
Updated by JRivrain about 1 year ago
The UI still differs between devel and staging ATM, should converge at some point, but meanwhile test is failing in devel. I will keep an eye on it and re-open if needed.
Updated by JRivrain about 1 year ago
- Status changed from In Progress to Resolved