test: increase timeout for token test (#428)

* test: increase timeout for token test

* fix: lint
This commit is contained in:
Joe Tsang 2022-05-19 15:12:43 +01:00 committed by GitHub
parent a89b2815ee
commit 5339788e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ describe('token', () => {
beforeEach(() => cy.visit('/'));
it('should always have a header title based on environment', () => {
cy.get('[data-testid="header-title"]').should(
cy.get('[data-testid="header-title"]', { timeout: 8000 }).should(
'have.text',
`${fairgroundSet ? 'Fairground token' : '$VEGA TOKEN'}`
);