1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

bump timeouts

This commit is contained in:
Jernej Pregelj 2019-06-20 13:41:11 +02:00
parent 9681d3848c
commit 3cfb9755b4
4 changed files with 6 additions and 6 deletions

View File

@ -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.', () => {

View File

@ -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.', () => {

View File

@ -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')
})
})

View File

@ -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
)