Skip to content

Commit

Permalink
Add click for 'Log in as a System Administrator' to lighthouse test
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Oct 1, 2024
1 parent 3cd7391 commit 5e4bfbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openshift/config/lighthouse/lighthouse-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ async function runLighthouse(url, options, config = null) {

// Wait for both the click and navigation
await Promise.all([
page.click('a.sysadmin-login'),
page.waitForNavigation({timeout: 100}),
page.click('#admin-login button[type="submit"]'),
page.waitForNavigation({timeout: 60000}),
]);
Expand Down

0 comments on commit 5e4bfbf

Please sign in to comment.