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:
parent
aeb24aadda
commit
5b52505ee8
@ -3,14 +3,14 @@ context('Faucet', () => {
|
|||||||
before(() => {
|
before(() => {
|
||||||
cy.visit('/faucet')
|
cy.visit('/faucet')
|
||||||
// Wait for end of loading
|
// Wait for end of loading
|
||||||
cy.get('button[name="Faucet"]', { timeout: 60000 }).should(
|
cy.get('button[name="FaucetEther"]', { timeout: 60000 }).should(
|
||||||
'have.length',
|
'have.length',
|
||||||
1
|
1
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.get('button[name="Faucet"]')
|
cy.get('button[name="FaucetEther"]')
|
||||||
.first()
|
.first()
|
||||||
.as('button')
|
.as('button')
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user