File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ describe('Progress Tab', () => {
111111 await fetchAndRender ( ) ;
112112 sendTrackEvent . mockClear ( ) ;
113113
114- const outlineTabLink = screen . getAllByRole ( 'link' , { name : 'Course Outline ' } ) ;
114+ const outlineTabLink = screen . getAllByRole ( 'link' , { name : 'Course outline ' } ) ;
115115 fireEvent . click ( outlineTabLink [ 1 ] ) ; // outlineTabLink[0] corresponds to the link in the DetailedGrades component
116116
117117 expect ( sendTrackEvent ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -896,7 +896,7 @@ describe('Progress Tab', () => {
896896 sendTrackEvent . mockClear ( ) ;
897897 expect ( screen . getByText ( 'Detailed grades' ) ) . toBeInTheDocument ( ) ;
898898
899- const outlineLink = screen . getAllByRole ( 'link' , { name : 'Course Outline ' } ) [ 0 ] ;
899+ const outlineLink = screen . getAllByRole ( 'link' , { name : 'Course outline ' } ) [ 0 ] ;
900900 fireEvent . click ( outlineLink ) ;
901901
902902 expect ( sendTrackEvent ) . toHaveBeenCalledTimes ( 1 ) ;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ const messages = defineMessages({
7878 } ,
7979 courseOutline : {
8080 id : 'progress.courseOutline' ,
81- defaultMessage : 'Course Outline ' ,
81+ defaultMessage : 'Course outline ' ,
8282 description : 'Anchor text for link that redirects to (course outline) tab' ,
8383 } ,
8484 currentGradeLabel : {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const messages = defineMessages({
1818 } ,
1919 outlineCardLink : {
2020 id : 'progress.relatedLinks.outlineCard.link' ,
21- defaultMessage : 'Course Outline ' ,
21+ defaultMessage : 'Course outline ' ,
2222 description : 'Anchor text for link that redirects to course outline tab' ,
2323 } ,
2424 relatedLinks : {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ describe('<CourseOutlineTray />', () => {
6464
6565 expect ( screen . getByText ( messages . loading . defaultMessage ) ) . toBeInTheDocument ( ) ;
6666 expect ( screen . getByText ( messages . courseOutlineTitle . defaultMessage ) ) . toBeInTheDocument ( ) ;
67- expect ( screen . queryByRole ( 'button' , { name : 'Course Outline ' } ) ) . not . toBeInTheDocument ( ) ;
67+ expect ( screen . queryByRole ( 'button' , { name : 'Course outline ' } ) ) . not . toBeInTheDocument ( ) ;
6868 } ) ;
6969
7070 it ( 'doesn\'t render when outline sidebar is disabled' , async ( ) => {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const messages = defineMessages({
1313 } ,
1414 courseOutlineTitle : {
1515 id : 'courseOutline.tray.title' ,
16- defaultMessage : 'Course Outline ' ,
16+ defaultMessage : 'Course outline ' ,
1717 description : 'Title text displayed for the course outline tray' ,
1818 } ,
1919 completedUnit : {
You can’t perform that action at this time.
0 commit comments