From 5e79294b8e07cb4a9b8511949a2fbc1d9497af04 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Fri, 26 Jan 2024 22:24:42 +0000 Subject: [PATCH] Click out of finals after step --- apps/antalmanac/src/lib/TutorialHelpers.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/antalmanac/src/lib/TutorialHelpers.tsx b/apps/antalmanac/src/lib/TutorialHelpers.tsx index 6b6302734..e77fd88b4 100644 --- a/apps/antalmanac/src/lib/TutorialHelpers.tsx +++ b/apps/antalmanac/src/lib/TutorialHelpers.tsx @@ -126,6 +126,12 @@ export function namedStepsFactory(goToStep: (step: number) => void): Record { + // Switch back to normal calendar + setTimeout(() => { + document.getElementById('finals-button-pressed')?.click(); + }, 50); + }, }, addedCoursesTab: { selector: '#added-courses-tab',