mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-06 01:25:31 +00:00
add wait fornetwork to be idle in e2e test step
This commit is contained in:
parent
0dcaee5e8c
commit
97355d55b5
@ -1,6 +1,8 @@
|
|||||||
import { Then } from "@badeball/cypress-cucumber-preprocessor";
|
import { Then } from "@badeball/cypress-cucumber-preprocessor";
|
||||||
|
import 'cypress-network-idle';
|
||||||
|
|
||||||
Then("I click the checkbox show donations progress bar and save", () => {
|
Then("I click the checkbox show donations progress bar and save", () => {
|
||||||
cy.get("#showDonations").click()
|
cy.get("#showDonations").click()
|
||||||
cy.get(".donations-info-button").click()
|
cy.get(".donations-info-button").click()
|
||||||
|
cy.waitForNetworkIdle(2000)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user