Skip to content

Commit

Permalink
e2e timing tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjmaclean committed Aug 16, 2024
1 parent 01ccc3b commit 0a0453d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cypress/e2e/ct-zero.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ context('Statistics Dashboard', () => {

// activate content tier zero
cy.get(selCtrlCTZero).click(force);
cy.wait(100);
cy.wait(1000);
cy.get(selPercent).contains(valPercent).should('not.exist');
cy.get(selPercent).contains(valPercentCTZero).should('exist');
confirmCTZeroSetting(true);

// click through to the "Type data"
cy.contains(linkTexts[0]).click(force);
cy.wait(100);
cy.wait(1000);
confirmCTZeroSetting(true);

// go back to Belgium
Expand All @@ -163,7 +163,7 @@ context('Statistics Dashboard', () => {

// click a target link
cy.contains(targetLinkTexts[0]).click(force);
cy.wait(100);
cy.wait(1000);
checkCTZeroParamAbsent(country);
confirmCTZeroSetting(false);

Expand All @@ -175,11 +175,11 @@ context('Statistics Dashboard', () => {

// click another target link
cy.contains(targetLinkTexts[1]).click(force);
cy.wait(100);
cy.wait(1000);

// return to Belgium (via the menu)
cy.contains('a', country).click(force);
cy.wait(100);
cy.wait(1000);

cy.get(selPercent).contains(valPercent).should('exist');
cy.get(selPercent).contains(valPercentCTZero).should('not.exist');
Expand Down

0 comments on commit 0a0453d

Please sign in to comment.