Skip to content
Snippets Groups Projects
Commit 892108e6 authored by Xiao Gui's avatar Xiao Gui
Browse files

fix: upload artefacts

fix: screenshot hit esc twice
parent cf75486d
No related branches found
No related tags found
No related merge requests found
......@@ -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() }}
......
......@@ -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`)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment