Skip to content

Commit

Permalink
Fix Invalid dependency graph created, cycle detected
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Oct 1, 2024
1 parent 7e4467e commit ea1c117
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ jobs:
TESTER_PASSWORD: ${{ secrets.TESTER_PASSWORD }}
- name: Run SSL Certificate Test
id: ssl-test
env:
APP_HOST_URL: ${{ needs.checkEnv.outputs.APP_NAME }}-${{ github.ref_name }}.apps.silver.devops.gov.bc.ca
run: |
# Perform SSL check
SSL_EXPIRY_DAYS=$(node -e "
Expand All @@ -253,8 +255,6 @@ jobs:
.catch(err => console.error(err));
")
echo "SSL_EXPIRY_DAYS=$SSL_EXPIRY_DAYS" >> $GITHUB_ENV
env:
APP_HOST_URL: ${{ needs.checkEnv.outputs.APP_NAME }}-${{ github.ref_name }}.apps.silver.devops.gov.bc.ca
- name: Set SSL Check Output
id: ssl-output
run: echo "SSL_EXPIRY_DAYS=${{ env.SSL_EXPIRY_DAYS }}" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion openshift/config/lighthouse/lighthouse-auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const puppeteer = require('puppeteer');

const {URL} = require('url');
const options = {
chromeFlags: ['--headless'],
Expand Down Expand Up @@ -64,7 +65,6 @@ 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: 10000}),
page.click('#admin-login button[type="submit"]'),
page.waitForNavigation({timeout: 60000}),
]);
Expand Down

0 comments on commit ea1c117

Please sign in to comment.