Skip to content

Commit

Permalink
Add int test for no appstream present
Browse files Browse the repository at this point in the history
  • Loading branch information
leomoty committed Sep 4, 2023
1 parent 0638493 commit b2e0897
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/verify/check-apps
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,18 @@ This <is <not XML.
b.wait_visible(".app-list .pf-v5-c-data-list__item-row:contains('Summary 2')")


def testNoAppStream(self):
b = self.browser

self.login_and_go("/apps")

b.wait_in_text(".pf-v5-c-alert h4.pf-v5-c-alert__title",
"Warning alert:Appstream data package is missing, only installed applications are shown.")

b.click("#refresh")

with b.wait_timeout(30):
b.wait_in_text(".pf-v5-c-modal-box:contains('Install software')", "appstream will be installed")

if __name__ == '__main__':
testlib.test_main()

0 comments on commit b2e0897

Please sign in to comment.