Skip to content

Commit

Permalink
Fix flaky user deletion & redemption cypress test (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines authored Dec 3, 2024
1 parent eff6ce7 commit d5a0f09
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 d5a0f09

Please sign in to comment.