@@ -88,7 +88,7 @@ describe("CourseModal", () => {
8888 // click on the back button, and AAA100H1's modal appears
8989 const backButton = screen . getByText ( "<" )
9090 await user . click ( backButton )
91- modalHeader = screen . getByText ( "AAA100 Introduction to AAA Thinking" )
91+ modalHeader = screen . getByText ( "AAA100H1 Introduction to AAA Thinking" )
9292 expect ( modalHeader ) . toBeDefined ( )
9393
9494 // click on the forward button, and BBB100's modal appears
@@ -114,7 +114,7 @@ describe("CourseModal", () => {
114114 // on AAA100
115115 const backButton = screen . getByText ( "<" )
116116 await user . click ( backButton )
117- modalHeader = screen . getByText ( "AAA100 Introduction to AAA Thinking" )
117+ modalHeader = screen . getByText ( "AAA100H1 Introduction to AAA Thinking" )
118118 expect ( modalHeader ) . toBeDefined ( )
119119
120120 // click on the course link CCC100H1, and CCC100H1's modal opens. The user's
@@ -129,7 +129,7 @@ describe("CourseModal", () => {
129129 // history of courses looks like: [AAA100, CCC100], with the user currently
130130 // on AAA100
131131 await user . click ( backButton )
132- modalHeader = screen . getByText ( "AAA100 Introduction to AAA Thinking" )
132+ modalHeader = screen . getByText ( "AAA100H1 Introduction to AAA Thinking" )
133133 expect ( modalHeader ) . toBeDefined ( )
134134
135135 // click on the forward button, and CCC100's modal should open. The user's
0 commit comments