File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ describe('Progress Tab', () => {
111
111
await fetchAndRender ( ) ;
112
112
sendTrackEvent . mockClear ( ) ;
113
113
114
- const outlineTabLink = screen . getAllByRole ( 'link' , { name : 'Course Outline ' } ) ;
114
+ const outlineTabLink = screen . getAllByRole ( 'link' , { name : 'Course outline ' } ) ;
115
115
fireEvent . click ( outlineTabLink [ 1 ] ) ; // outlineTabLink[0] corresponds to the link in the DetailedGrades component
116
116
117
117
expect ( sendTrackEvent ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -896,7 +896,7 @@ describe('Progress Tab', () => {
896
896
sendTrackEvent . mockClear ( ) ;
897
897
expect ( screen . getByText ( 'Detailed grades' ) ) . toBeInTheDocument ( ) ;
898
898
899
- const outlineLink = screen . getAllByRole ( 'link' , { name : 'Course Outline ' } ) [ 0 ] ;
899
+ const outlineLink = screen . getAllByRole ( 'link' , { name : 'Course outline ' } ) [ 0 ] ;
900
900
fireEvent . click ( outlineLink ) ;
901
901
902
902
expect ( sendTrackEvent ) . toHaveBeenCalledTimes ( 1 ) ;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ const messages = defineMessages({
78
78
} ,
79
79
courseOutline : {
80
80
id : 'progress.courseOutline' ,
81
- defaultMessage : 'Course Outline ' ,
81
+ defaultMessage : 'Course outline ' ,
82
82
description : 'Anchor text for link that redirects to (course outline) tab' ,
83
83
} ,
84
84
currentGradeLabel : {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const messages = defineMessages({
18
18
} ,
19
19
outlineCardLink : {
20
20
id : 'progress.relatedLinks.outlineCard.link' ,
21
- defaultMessage : 'Course Outline ' ,
21
+ defaultMessage : 'Course outline ' ,
22
22
description : 'Anchor text for link that redirects to course outline tab' ,
23
23
} ,
24
24
relatedLinks : {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ describe('<CourseOutlineTray />', () => {
64
64
65
65
expect ( screen . getByText ( messages . loading . defaultMessage ) ) . toBeInTheDocument ( ) ;
66
66
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 ( ) ;
68
68
} ) ;
69
69
70
70
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({
13
13
} ,
14
14
courseOutlineTitle : {
15
15
id : 'courseOutline.tray.title' ,
16
- defaultMessage : 'Course Outline ' ,
16
+ defaultMessage : 'Course outline ' ,
17
17
description : 'Title text displayed for the course outline tray' ,
18
18
} ,
19
19
completedUnit : {
You can’t perform that action at this time.
0 commit comments