1802f50163
* feat: replace eslint with preset * chore: update * add empty line * Revert changes * chore: replace colors * chore: tweaks * Revert "chore: replace colors" This reverts commit 3462420ecbdd9c5275a895643dad1586e92226a0. * bring lint back * chore: tweaks * chore: add note * chore: fix yarn lock * chore: fix yarn.lock 2 * chore: use ESLint from npm * Chore: update lockfile * tweaks * chore: initial take fixing some lint issues * tweaks * chore: another take * chore: further tweaks * chore: fix further * feat: ignore Jest for cypress * revert change * chore: update to latest preset * tmp lets see if this works * chore: turn error into warning * chore: remove warnings * chore: deduplicate yarn lock * feat: add recommended ESLint extension in case someone has Prettier instead * upgrade to latest uniswap config * chore: update todo * remove patch * find to some * name * chore: tweak yarn lock * update * cleanup * update name for filter * nl * no unsafe finally * chore: update doc * fix * fix * one more fix * one more file * chore: Fix two last build issues * add generated back * fix lint after merge * chore: fix tests * remove * one more
22 lines
500 B
TypeScript
22 lines
500 B
TypeScript
const ONE_MINUTE = 60_000
|
|
|
|
describe(
|
|
'Release',
|
|
{
|
|
pageLoadTimeout: ONE_MINUTE,
|
|
retries: 30,
|
|
},
|
|
() => {
|
|
it('loads swap page', () => {
|
|
// 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
|
|
cy.wait(ONE_MINUTE)
|
|
.visit('/', {
|
|
retryOnStatusCodeFailure: true,
|
|
retryOnNetworkFailure: true,
|
|
})
|
|
.get('#swap-page')
|
|
})
|
|
}
|
|
)
|