Commit d5eed8b1 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

build: wait 1m between release tests (#4077)

parent 2447afc4
...@@ -2,8 +2,6 @@ import { defineConfig } from 'cypress' ...@@ -2,8 +2,6 @@ import { defineConfig } from 'cypress'
export default defineConfig({ export default defineConfig({
projectId: 'yp82ef', projectId: 'yp82ef',
pageLoadTimeout: 60000,
retries: 30,
e2e: { e2e: {
specPattern: 'cypress/release.ts', specPattern: 'cypress/release.ts',
}, },
......
describe('Release', () => { const ONE_MINUTE = 60_000
it('loads swap page', () => {
cy.visit('/', { describe(
retryOnStatusCodeFailure: true, 'Release',
retryOnNetworkFailure: true, {
}).get('#swap-page') pageLoadTimeout: ONE_MINUTE,
}) retries: 30,
}) },
() => {
it('loads swap page', () => {
// We *must* wait in order to space out the retry attempts.
cy.wait(ONE_MINUTE)
.visit('/', {
retryOnStatusCodeFailure: true,
retryOnNetworkFailure: true,
})
.get('#swap-page')
})
}
)
Markdown is supported
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