add wait fornetwork to be idle in e2e test step

This commit is contained in:
mahula 2024-02-07 07:05:10 +01:00
parent 0dcaee5e8c
commit 97355d55b5

View File

@ -1,6 +1,8 @@
import { Then } from "@badeball/cypress-cucumber-preprocessor";
import 'cypress-network-idle';
Then("I click the checkbox show donations progress bar and save", () => {
cy.get("#showDonations").click()
cy.get(".donations-info-button").click()
cy.waitForNetworkIdle(2000)
})