Skip to content

Commit

Permalink
fix: upload artefacts
Browse files Browse the repository at this point in the history
fix: screenshot hit esc twice
  • Loading branch information
xgui3783 committed Aug 14, 2024
1 parent cf75486 commit 892108e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker_img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ jobs:
with:
url: https://atlases.ebrains.eu/viewer-staging/go/${{ matrix.saneurl }}
screenshot-filename: ${{ needs.set-vars.outputs.GIT_DIGEST }}/url-preview/${{ matrix.saneurl }}

secrets:
client-id: ${{ secrets.EBRAINS_SIIBRA_EXPLORER_OIDC_CLIENTID}}
client-secret: ${{ secrets.EBRAINS_SIIBRA_EXPLORER_OIDC_CLIENTSECRET}}

trigger-deploy-expmt-rancher:
if: ${{ needs.set-vars.outputs.BRANCH_NAME == 'staging' && success() }}
Expand Down
5 changes: 4 additions & 1 deletion cypress/e2e/screenshot.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ describe(`Visiting ${SCREENSHOT_URL}`, () => {
}

cy.visit(SCREENSHOT_URL)
cy.wait(10000)
cy.wait(5000)
cy.type('{esc}')
cy.wait(1000)
cy.type('{esc}')

if (!SCREENSHOT_PATH) {
console.error(`SCREENSHOT_PATH not defined. Exiting`)
Expand Down

0 comments on commit 892108e

Please sign in to comment.