mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fixed coded ui tests
This commit is contained in:
parent
aeb24aadda
commit
d7e93d116c
@ -3,14 +3,14 @@ context('Faucet', () => {
|
||||
before(() => {
|
||||
cy.visit('/faucet')
|
||||
// Wait for end of loading
|
||||
cy.get('button[name="Faucet"]', { timeout: 60000 }).should(
|
||||
cy.get('button[name="FaucetEther"]', { timeout: 60000 }).should(
|
||||
'have.length',
|
||||
1
|
||||
)
|
||||
})
|
||||
|
||||
beforeEach(() => {
|
||||
cy.get('button[name="Faucet"]')
|
||||
cy.get('button[name="FaucetEther"]')
|
||||
.first()
|
||||
.as('button')
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user