Skip to content

Commit

Permalink
Agama assert install progress before timeout loop
Browse files Browse the repository at this point in the history
* Agama seems to randomly flash congratulations screen
  before installation begins. This confuses openQA
  gh#agama-project/agama#1616

* Workaround is to ensure we see installation progress screen first
  • Loading branch information
lkocman committed Sep 17, 2024
1 parent d322b06 commit d263b09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/installation/agama.pm
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ sub run {
# confirmation dialog if we keep default partitioning layout
assert_and_click('agama-confirm-installation');

# online-only installation it might take long based on connectivity
# We're using wrong repo for testing
# BUG tracker: https://github.com/openSUSE/agama/issues/1474
# copied from await_install.pm
# ensure that the installation started before matching agama-congratulations
# https://github.com/openSUSE/agama/issues/1616
assert_screen('agama-install-in-progress');

my $timeout = 2400; # 40 minutes timeout for installation process
# Await installation with a timeout
while ($timeout > 0) {
Expand Down

0 comments on commit d263b09

Please sign in to comment.