2022-07-11 20:24:01 +03:00
|
|
|
const ONE_MINUTE = 60_000
|
|
|
|
|
|
|
|
describe(
|
|
|
|
'Release',
|
|
|
|
{
|
|
|
|
pageLoadTimeout: ONE_MINUTE,
|
|
|
|
retries: 30,
|
|
|
|
},
|
|
|
|
() => {
|
|
|
|
it('loads swap page', () => {
|
2022-12-21 02:08:20 +03:00
|
|
|
// TODO: We *must* wait in order to space out the retry attempts. Find a better way to do this.
|
|
|
|
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
2022-07-11 20:24:01 +03:00
|
|
|
cy.wait(ONE_MINUTE)
|
|
|
|
.visit('/', {
|
|
|
|
retryOnStatusCodeFailure: true,
|
|
|
|
retryOnNetworkFailure: true,
|
|
|
|
})
|
|
|
|
.get('#swap-page')
|
|
|
|
})
|
|
|
|
}
|
|
|
|
)
|