Skip to content

Commit

Permalink
fix 1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Shiel authored and Aaron Shiel committed Feb 14, 2024
1 parent 621ef91 commit d36c97a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cypress/cypress/e2e/home.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,13 @@ describe("My Mentor Page", () => {
it("users with locked subjects cannot see 'select subject' in hamburger menu", () => {
cySetup(cy);
cyMockDefault(cy, {
mentor: clintWithConfig,
mentor: {
...clintWithConfig,
mentorConfig: {
...clintWithConfig.mentorConfig,
lockedToSubjects: true,
},
},
});
cy.visit("/");
cy.get("[data-cy=setup-no]").trigger("mouseover").click();
Expand Down

0 comments on commit d36c97a

Please sign in to comment.