Skip to content

Commit

Permalink
Merge branch 'fix/flaky-cypress-test' into feature/voucher-warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Dec 1, 2024
2 parents e572bf0 + 0c39d63 commit f9bc5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/cypress/e2e/vouchers_redemptions_spec_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function logoutAndLoginAsTeacher(context) {

export function verifyNoTutorialsButUserEligibleAsTutor(context, shouldBeEligible = true) {
cy.getBySelector("tutorial-row").should("not.exist");
cy.getBySelector("new-tutorial-btn").click();
cy.getBySelector("new-tutorial-btn").should("be.visible").click();
cy.then(() => {
cy.getBySelector("tutorial-form").should("be.visible");
cy.getBySelector("tutor-select").within(() => {
Expand Down

0 comments on commit f9bc5b3

Please sign in to comment.