Project

General

Profile

Actions

action #132890

closed

coordination #121855: [epic] Agama web interactive installation

Create POM for 'Confirm Installation', 'Installing' and 'Installation Finished' screens in Agama

Added by rainerkoenig 10 months ago. Updated 7 months ago.

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

0%

Estimated time:

Description

Motivation

Define a POM to handle the installation process.

Launch installation screen:

Screen during ongoing installation:

Screenshot of "congratulations" screen:

Scope

Installations of Dolomite 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: Compare code auto-generated in AC1 with existing code in test like lvm or full encrypted (borrowed from Agama repo in their CI tests).
AC3: Replace code for the three pages above in existing e2e tests, ie: lvm, full encrypted, etc.

Additional information

Playwright documentation: https://playwright.dev/docs/Rintro
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
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.

Existing test for CI shouldn't be touched for now, but those file might give us some inspiration in case with playwright test generator would not get the best locators.


Files

Actions

Also available in: Atom PDF