1
0
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:
Sebastian Gerske 2019-10-07 15:09:45 +02:00
parent aeb24aadda
commit d7e93d116c

View File

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