action #130054


coordination #121855: [epic] Agama web interactive installation

Add test for LVM installation

Added by JERiveraMoya 4 months ago. Updated 2 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:



Use Playwright and Page Object Model create a Typescript test that does an LVM installation with Agama.

Test should go to Storage, click on Use LVM, add user and root authentication, install the product and validate lvm via command line.


Installations of ALP Micro, ALP Bedrock and Tumbleweed using Agama for all architectures available in openQA (s390x and ppc64le excluded for now).

Acceptance criteria

AC1: Get familiar with Playwright and use the playwright test generator to get first version of your code.
AC2: Locate only the auto-generated code related with LVM activation and convert it to Page Object Model.
AC3: Add new test to our QE repo e2e-agama-playwright using that POM.
AC4: Add new test under folder tests/yam/validation/ that perform a simple validation of a LVM (perhaps we could reuse existing test module for validate?)

Additional information

Playwright documentation:
Playwright documentation - Page Object Model:
How to use playwright with Agama:
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.

Don't worry about anything else than LVM enablement from Storage page, so you can narrow the scope of this ticket to one POM.
The rest of the implementation, the main page, how to navigate from main page to storage page, etc, will be provided in a different PR, so it will be acceptable that only the part related with LVM is designed with POM and not the rest, the part related with the user creation will be also done without POM, just pick what you need using Playwright test generator, we will refactor it later.

IMPORTANT: While #130000 is not yet resolve, please add a call to yupdate in your test so live-cd can pick the new test/code you implement from a branch


Use_LVM.png (9.5 KB) Use_LVM.png JERiveraMoya, 2023-05-30 09:24
Actions #1

Updated by JERiveraMoya 4 months ago

Actions #2

Updated by leli 4 months ago

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

Updated by JERiveraMoya 4 months ago

  • Description updated (diff)
Actions #4

Updated by leli 3 months ago

Draft PR submitted, Still need to fulfill the validation for the LVM test.

Actions #5

Updated by leli 3 months ago

Maybe this module can be re-used for the validation for LVM, tests/console/

Actions #6

Updated by JERiveraMoya 3 months ago

Reminder: "AC2: Locate only the auto-generated code related with LVM activation and convert it to Page Object Model."

Actions #7

Updated by leli 3 months ago

PR merged for lvm test case.

Submitted PR to implement the lvm test in agama development job group.

Actions #8

Updated by JERiveraMoya 2 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF