diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 702d87234f874add9359455268ebc6c49bcc2e4c..353154f3b6296b4289ecf45ea50af296e81b24a4 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -54,6 +54,9 @@ jobs: PPTR_VERSION: "5.3.1" CHROMIUM_VERSION: "86.0.4240.0" + outputs: + failure-state: ${{ steps.failure-state-step.FAILURE_STATE }} + steps: - uses: actions/checkout@v2 with: @@ -99,7 +102,7 @@ jobs: steps: - name: update badge run: | - [[ '${{ needs.e2e.steps.failure-state-step.outputs.FAILURE_STATE }}' = 'true' ]] && state=failure || state=success && + [[ '${{ needs.e2e.outputs.failure-state }}' = 'true' ]] && state=failure || state=success && curl -v \ -X POST \ -H "Authorization: Token ${{ secrets.WORKFLOW_TOKEN }}" \ diff --git a/e2e/src/selecting/template.prod.e2e-spec.js b/e2e/src/selecting/template.prod.e2e-spec.js index 08e8028d7b039af8aa455fc05fbb917415569cc3..556d3035c19119c24a46a40484b8cd5c38463c78 100644 --- a/e2e/src/selecting/template.prod.e2e-spec.js +++ b/e2e/src/selecting/template.prod.e2e-spec.js @@ -57,7 +57,7 @@ describe('templates > ', () => { }) }) - describe('> switching template > ', () => { + describe('> switching template', () => { beforeEach(async () => { await iavPage.goto() @@ -77,7 +77,8 @@ describe('templates > ', () => { await iavPage.setAtlasSpecifications(atlasName, [ tNameColin ]) await iavPage.wait(500) await iavPage.waitUntilAllChunksLoaded() - + await iavPage.wait(500) + const isActive = await iavPage.atlasTileIsActive(tNameColin) expect(isActive.toString()).toEqual('true')