Project

General

Profile

Actions

action #168310

closed

coordination #169654: [epic] Create test scenarios for Agama

Instead of relying on grub_test, implement page object to select Boot from Hard Disk

Added by JERiveraMoya about 2 months ago. Updated 11 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-10-16
Due date:
% Done:

0%

Estimated time:

Description

Motivation

For usb installation we need to navigate to Boot from Hard Disk in the grub of the installed system.
See current failure:
openQA test in scenario opensuse-agama-9.0-agama-installer-x86_64-agama_default@uefi-usb-2G fails in
grub_test

Using page objects we will introduce some condition at the level of distribution pattern and we will create page object based on composition
to interact with the screen. The change will be only applied to this scenario and others are not affected.

Acceptance criteria

  • AC1: Add more functionality to our page object model to do this navigation.
Actions #1

Updated by rainerkoenig about 2 months ago

  • Status changed from Workable to In Progress
  • Assignee set to rainerkoenig
Actions #2

Updated by JERiveraMoya about 2 months ago

Please cover all the 4 jobs groups, starting by this failure in brand new job group for sles 16:
https://openqa.suse.de/tests/15710960

Actions #3

Updated by JERiveraMoya about 2 months ago

  • Tags changed from qe-yam-oct-sprint to qe-yam-nov-sprint
Actions #5

Updated by JERiveraMoya about 1 month ago

  • Parent task changed from #163919 to #169654
Actions #6

Updated by JERiveraMoya 29 days ago

  • Priority changed from High to Normal
Actions #7

Updated by JERiveraMoya 17 days ago

merged, please setup yaml file in prod.

Actions #8

Updated by leli 12 days ago

Change to POM definitely works, while what I saw the failure is because of setting 'AGAMA=1' removed.

# Layout of live is different from installation media
    # Agama has same layout of live
    my $key = is_livecd() || get_var("AGAMA") ? 'down' : 'up';

Just feel interest to know the reason to implement to POM. :)

Actions #9

Updated by JERiveraMoya 12 days ago ยท Edited

leli wrote in #note-8:

Change to POM definitely works, while what I saw the failure is because of setting 'AGAMA=1' removed.

# Layout of live is different from installation media
    # Agama has same layout of live
    my $key = is_livecd() || get_var("AGAMA") ? 'down' : 'up';

Just feel interest to know the reason to implement to POM. :)

we didn't create that code, our initial implementation for qemu is without AGAMA=1 because it is simple enough to avoid using legacy code and hack it. We only use AGAMA=1 for non-qemu.
POM is our way to implement by default when dealing with the UI.

Actions #10

Updated by JERiveraMoya 11 days ago

  • Tags changed from qe-yam-nov-sprint to qe-yam-dec-sprint-fy25
Actions #11

Updated by JERiveraMoya 11 days ago

@rainerkoenig could you please setup the job group in prod so the job will show passed:
https://openqa.suse.de/tests/16071859#step/grub_test/11
so we can resolve this ticket right after, thanks.

Actions #12

Updated by rainerkoenig 11 days ago

Changed the job group settings, but the VR still fails in first_boot with a black screen: https://openqa.suse.de/tests/16081267

Actions #13

Updated by JERiveraMoya 11 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF