Project

General

Profile

action #132890

Updated by JERiveraMoya 10 months ago

#### Motivation 
 Define a POM to handle the installation process. 

 Launch installation screen: 

 ![](Screenshot_Launch_Installation.png) 

 Screen during ongoing installation: 

 ![](Screenshot_Installing.png) 

 Screenshot of "congratulations" screen: 

 ![](Screenshot_Congratulations.png) 

 #### 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.

Back