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', () => {
|
it('Consume asset and check if there is no error', () => {
|
||||||
// Click consume button
|
// Click consume button
|
||||||
cy.get('@button').click()
|
cy.get('button[name="Download"]').click()
|
||||||
// Wait consume process to end
|
// 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
|
// check if there is no error
|
||||||
cy.get('article>div').should(
|
cy.get('article>div').should(
|
||||||
'not.contain',
|
'not.contain',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user