Project

General

Profile

Actions

action #133073

closed

coordination #121855: [epic] Agama web interactive installation

Create test and POM for selecting another installation device

Added by JERiveraMoya 9 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2023-07-20
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by JRivrain 9 months ago

  • Status changed from Workable to In Progress
  • Assignee set to JRivrain
Actions #3

Updated by JRivrain 8 months 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.

Actions #4

Updated by JRivrain 8 months 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.

Actions #5

Updated by JRivrain 8 months ago

waiting for next build before marking as resolved.

Actions #6

Updated by JRivrain 7 months 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.

Actions #7

Updated by JRivrain 7 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF