1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

update faucet integration test

This commit is contained in:
Matthias Kretschmann 2019-10-07 15:09:42 +02:00 committed by GitHub
parent aeb24aadda
commit 5b52505ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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