mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
bump timeouts
This commit is contained in:
parent
9681d3848c
commit
3cfb9755b4
@ -17,7 +17,7 @@ context('Consume', () => {
|
|||||||
'http://localhost:3000/asset/did:op:04ac33b152ca4532b184d6bd040e9535b572e1f2888e4f85b47035dd638772bb'
|
'http://localhost:3000/asset/did:op:04ac33b152ca4532b184d6bd040e9535b572e1f2888e4f85b47035dd638772bb'
|
||||||
)
|
)
|
||||||
// Wait for end of loading
|
// 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.', () => {
|
it('Download button is clickable when user is connected.', () => {
|
||||||
|
@ -15,7 +15,7 @@ context('Faucet', () => {
|
|||||||
|
|
||||||
cy.visit('http://localhost:3000/faucet')
|
cy.visit('http://localhost:3000/faucet')
|
||||||
// Wait for end of loading
|
// 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.', () => {
|
it('Faucet button is clickable when user is connected.', () => {
|
||||||
|
@ -15,7 +15,7 @@ context('Publish', () => {
|
|||||||
|
|
||||||
cy.visit('http://localhost:3000/publish')
|
cy.visit('http://localhost:3000/publish')
|
||||||
|
|
||||||
cy.get('article>div', { timeout: 20000 }).should(
|
cy.get('article>div', { timeout: 60000 }).should(
|
||||||
'contain',
|
'contain',
|
||||||
'Essentials'
|
'Essentials'
|
||||||
)
|
)
|
||||||
@ -74,7 +74,7 @@ context('Publish', () => {
|
|||||||
.click()
|
.click()
|
||||||
// Wait for finish
|
// Wait for finish
|
||||||
cy.contains('Your asset is published!', {
|
cy.contains('Your asset is published!', {
|
||||||
timeout: 60000
|
timeout: 12000
|
||||||
}).should('be.visible')
|
}).should('be.visible')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -15,7 +15,7 @@ context('Search', () => {
|
|||||||
|
|
||||||
cy.visit('http://localhost:3000')
|
cy.visit('http://localhost:3000')
|
||||||
// Wait for end of loading
|
// 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', () => {
|
it('Search for assets from homepage', () => {
|
||||||
@ -26,7 +26,7 @@ context('Search', () => {
|
|||||||
.contains('Search')
|
.contains('Search')
|
||||||
.click()
|
.click()
|
||||||
// Verify there are results
|
// Verify there are results
|
||||||
cy.get('article > a', { timeout: 10000 }).should(
|
cy.get('article > a', { timeout: 60000 }).should(
|
||||||
'have.length.greaterThan',
|
'have.length.greaterThan',
|
||||||
0
|
0
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user