Skip to content

Commit 058fc3a

Browse files
committed
Try changing the order in beforeAll
1 parent 2669b37 commit 058fc3a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/tests_protocol.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
5151
- run: npm install
5252
- run: npm run removePolkadotJSWarnings
53-
53+
5454
- name: Build contracts
5555
id: build
5656
run: |

demos/cypress-shared/cypress/e2e/captcha.cy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ describe('Captchas', () => {
2727
if (!solutions) {
2828
throw new Error('No solutions found')
2929
}
30-
cy.wrap(solutions).as('solutions')
3130
// visit the base URL specified on command line when running cypress
3231
cy.visit('/')
32+
// wrap the solutions to make them available to the tests
33+
cy.wrap(solutions).as('solutions')
3334
})
3435

3536
it("Captchas load when 'I am human' is pressed", () => {

0 commit comments

Comments
 (0)