mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fix cypress test
This commit is contained in:
parent
3518abab26
commit
9c47ed2183
@ -21,9 +21,12 @@ context('Consume', () => {
|
||||
|
||||
it('Consume asset and check if there is no error', () => {
|
||||
// Click consume button
|
||||
cy.get('@button').click()
|
||||
cy.get('button[name="Download"]').click()
|
||||
// Wait consume process to end
|
||||
cy.get('@button', { timeout: 150000 }).should('contain', 'Get file')
|
||||
cy.get('button[name="Download"]', { timeout: 150000 }).should(
|
||||
'contain',
|
||||
'Get file'
|
||||
)
|
||||
// check if there is no error
|
||||
cy.get('article>div').should(
|
||||
'not.contain',
|
||||
|
Loading…
Reference in New Issue
Block a user