Skip to content

Commit

Permalink
test fixes + reset snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshiel committed Aug 19, 2024
1 parent 8820f3d commit 8f2f701
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/cypress/e2e/home.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,7 @@ describe("My Mentor Page", () => {
cyMockDefault(cy, {
mentor: {
...clintWithConfig,
lockedToConfig: true,
mentorConfig: {
...clintWithConfig.mentorConfig,
lockedToSubjects: true,
Expand All @@ -1203,6 +1204,7 @@ describe("My Mentor Page", () => {
cyMockDefault(cy, {
mentor: {
...clintWithConfig,
lockedToConfig: true,
mentorConfig: {
...clintWithConfig.mentorConfig,
lockedToSubjects: true,
Expand Down
1 change: 1 addition & 0 deletions cypress/cypress/e2e/setup.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ describe("Setup", () => {
it("Record required subject slide considers answer as complete if upload in progress", () => {
const videoWithConfigAndUnansweredQ: Mentor = {
...completeMentor(videoMentor),
lockedToConfig: true,
mentorConfig: mentorConfig,
name: "helo",
firstName: "world",
Expand Down
1 change: 1 addition & 0 deletions cypress/cypress/fixtures/recording/video_mentors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,6 @@ export const mentorConfig: MentorConfig = {
};
export const videoMentorWithConfig: Mentor = {
...videoMentor,
lockedToConfig: true,
mentorConfig,
};
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions cypress/cypress/support/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export interface Mentor {
isPrivate: boolean;
isArchived: boolean;
isAdvanced: boolean;
lockedToConfig?: boolean;
defaultSubject?: Subject;
mentorConfig?: MentorConfig;
numAnswersComplete: number;
Expand Down

0 comments on commit 8f2f701

Please sign in to comment.