action #165980
closedcoordination #163919: [epic] Create automation setup for testing Agama
Create page object for reboot screen in agama
0%
Description
Motivation¶
As a follow-up of https://progress.opensuse.org/issues/165830 we noticed that the reboot screen needs to be processed better outside puppeteer, otherwise when the button is press, the process is not detected to finish. In order to avoid to duplicate needles and code we should use our current approach with Page Object Model (POM) for this screen.
tests/yam/agama/boot_agama.pm brings with a clear example how to handle different screens as Page Object in Perl.
Acceptance criteria¶
AC1: POM is created the final reboot/congratulation/installation finished screen and enabled in our test Devel job group in O3.
AC2: Interactive installation and unattended installation should be used in the corresponding test modules that handle them.
Suggestions¶
For how the screen looks, we could imaging a class named InstallationComplete (as it is the most meaningful name most likely?)
with a couple of methods: expect_is_shown() and reboot() and nothing more.