diff --git a/cypress/integration/consume.spec.js b/cypress/integration/consume.spec.js index 231ce7f..df86190 100644 --- a/cypress/integration/consume.spec.js +++ b/cypress/integration/consume.spec.js @@ -17,7 +17,7 @@ context('Consume', () => { 'http://localhost:3000/asset/did:op:04ac33b152ca4532b184d6bd040e9535b572e1f2888e4f85b47035dd638772bb' ) // Wait for end of loading - cy.get('button', { timeout: 20000 }).should('have.length', 1) + cy.get('button', { timeout: 60000 }).should('have.length', 1) }) it('Download button is clickable when user is connected.', () => { diff --git a/cypress/integration/faucet.spec.js b/cypress/integration/faucet.spec.js index 5c0d514..30a4678 100644 --- a/cypress/integration/faucet.spec.js +++ b/cypress/integration/faucet.spec.js @@ -15,7 +15,7 @@ context('Faucet', () => { cy.visit('http://localhost:3000/faucet') // Wait for end of loading - cy.get('button', { timeout: 20000 }).should('have.length', 1) + cy.get('button', { timeout: 60000 }).should('have.length', 1) }) it('Faucet button is clickable when user is connected.', () => { diff --git a/cypress/integration/publish.spec.js b/cypress/integration/publish.spec.js index 486ba4f..d0adfad 100644 --- a/cypress/integration/publish.spec.js +++ b/cypress/integration/publish.spec.js @@ -15,7 +15,7 @@ context('Publish', () => { cy.visit('http://localhost:3000/publish') - cy.get('article>div', { timeout: 20000 }).should( + cy.get('article>div', { timeout: 60000 }).should( 'contain', 'Essentials' ) @@ -74,7 +74,7 @@ context('Publish', () => { .click() // Wait for finish cy.contains('Your asset is published!', { - timeout: 60000 + timeout: 12000 }).should('be.visible') }) }) diff --git a/cypress/integration/search.spec.js b/cypress/integration/search.spec.js index d2dbcb3..fa6a401 100644 --- a/cypress/integration/search.spec.js +++ b/cypress/integration/search.spec.js @@ -15,7 +15,7 @@ context('Search', () => { cy.visit('http://localhost:3000') // Wait for end of loading - cy.get('button', { timeout: 20000 }).should('have.length', 1) + cy.get('button', { timeout: 60000 }).should('have.length', 1) }) it('Search for assets from homepage', () => { @@ -26,7 +26,7 @@ context('Search', () => { .contains('Search') .click() // Verify there are results - cy.get('article > a', { timeout: 10000 }).should( + cy.get('article > a', { timeout: 60000 }).should( 'have.length.greaterThan', 0 )