Skip to content

Commit 97355d5

Browse files
committed
add wait fornetwork to be idle in e2e test step
1 parent 0dcaee5 commit 97355d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Then } from "@badeball/cypress-cucumber-preprocessor";
2+
import 'cypress-network-idle';
23

34
Then("I click the checkbox show donations progress bar and save", () => {
45
cy.get("#showDonations").click()
56
cy.get(".donations-info-button").click()
7+
cy.waitForNetworkIdle(2000)
68
})

0 commit comments

Comments
 (0)