diff --git a/cypress/cypress/e2e/home.cy.ts b/cypress/cypress/e2e/home.cy.ts index 4388d31b..3a30c79d 100644 --- a/cypress/cypress/e2e/home.cy.ts +++ b/cypress/cypress/e2e/home.cy.ts @@ -1186,6 +1186,7 @@ describe("My Mentor Page", () => { cyMockDefault(cy, { mentor: { ...clintWithConfig, + lockedToConfig: true, mentorConfig: { ...clintWithConfig.mentorConfig, lockedToSubjects: true, @@ -1203,6 +1204,7 @@ describe("My Mentor Page", () => { cyMockDefault(cy, { mentor: { ...clintWithConfig, + lockedToConfig: true, mentorConfig: { ...clintWithConfig.mentorConfig, lockedToSubjects: true, diff --git a/cypress/cypress/e2e/setup.cy.ts b/cypress/cypress/e2e/setup.cy.ts index 4847f9f5..c5fa571a 100644 --- a/cypress/cypress/e2e/setup.cy.ts +++ b/cypress/cypress/e2e/setup.cy.ts @@ -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", diff --git a/cypress/cypress/fixtures/recording/video_mentors.ts b/cypress/cypress/fixtures/recording/video_mentors.ts index 15022eb6..b9c6ea9b 100644 --- a/cypress/cypress/fixtures/recording/video_mentors.ts +++ b/cypress/cypress/fixtures/recording/video_mentors.ts @@ -217,5 +217,6 @@ export const mentorConfig: MentorConfig = { }; export const videoMentorWithConfig: Mentor = { ...videoMentor, + lockedToConfig: true, mentorConfig, }; diff --git a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-1.snap.png b/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-1.snap.png deleted file mode 100644 index c90a5a55..00000000 Binary files a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-1.snap.png and /dev/null differ diff --git a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-2.snap.png b/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-2.snap.png deleted file mode 100644 index 37e4b03d..00000000 Binary files a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-2.snap.png and /dev/null differ diff --git a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-3.snap.png b/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-3.snap.png deleted file mode 100644 index 88a73117..00000000 Binary files a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-3.snap.png and /dev/null differ diff --git a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-4.snap.png b/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-4.snap.png deleted file mode 100644 index 74ffccf0..00000000 Binary files a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-type-slide-4.snap.png and /dev/null differ diff --git a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-welcome-slide.snap.png b/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-welcome-slide.snap.png deleted file mode 100644 index 48dc8d57..00000000 Binary files a/cypress/cypress/snapshots/setup.cy.ts/screenshots-setup-welcome-slide.snap.png and /dev/null differ diff --git a/cypress/cypress/support/types.ts b/cypress/cypress/support/types.ts index ead280b8..85d87d4c 100644 --- a/cypress/cypress/support/types.ts +++ b/cypress/cypress/support/types.ts @@ -128,6 +128,7 @@ export interface Mentor { isPrivate: boolean; isArchived: boolean; isAdvanced: boolean; + lockedToConfig?: boolean; defaultSubject?: Subject; mentorConfig?: MentorConfig; numAnswersComplete: number;