File tree Expand file tree Collapse file tree 3 files changed +22
-14
lines changed
public/js/app/pages/__tests__ Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -195,10 +195,11 @@ describe('User language: English. Component <AboutCourseMemo> show all memos: pd
195
195
196
196
test ( 'renders all links and check its number and labels' , ( ) => {
197
197
const links = getAllByRole ( 'link' )
198
- expect ( links . length ) . toBe ( 13 )
198
+ expect ( links . length ) . toBe ( 14 )
199
199
const expectedlinks = [
200
200
'Course and programme directory' ,
201
201
'Before course selection' ,
202
+ 'Prepare and take course' ,
202
203
'Course memo' ,
203
204
'Course memo Autumn 2019-1' ,
204
205
'Course memo Autumn 2020-1' ,
Original file line number Diff line number Diff line change @@ -192,10 +192,11 @@ describe('User language: Swedish. Component <AboutCourseMemo> show all memos: pd
192
192
193
193
test ( 'renders all links and check its number and labels' , done => {
194
194
const links = getAllByRole ( 'link' )
195
- expect ( links . length ) . toBe ( 14 )
195
+ expect ( links . length ) . toBe ( 15 )
196
196
const expectedlinks = [
197
197
'Kurs- och programkatalogen' ,
198
198
'Inför kursval' ,
199
+ 'Förbereda och gå kurs' ,
199
200
'Kurs-PM' ,
200
201
'Course memo Autumn 2019-1' ,
201
202
'Course memo Autumn 2020-1' ,
Original file line number Diff line number Diff line change @@ -98,13 +98,16 @@ exports[`Page CourseMemo renders a side menu and a page structure 1`] = `
98
98
Before course selection
99
99
</a >
100
100
</li >
101
- <li
102
- class = " kth-local-navigation__submenu"
103
- >
104
- <h3 >
101
+ <li >
102
+ <a
103
+ class = " expandable expanded"
104
+ href = " /kurs-pm/TEST121/om-kurs-pm"
105
+ >
105
106
Prepare and take course
106
- </h3 >
107
- <ul >
107
+ </a >
108
+ <ul
109
+ class = " kth-local-navigation__submenu"
110
+ >
108
111
<li >
109
112
<a
110
113
href = " /kurs-pm/TEST121/om-kurs-pm"
@@ -197,13 +200,16 @@ exports[`Page CourseMemo renders a side menu and a page structure 1`] = `
197
200
Before course selection
198
201
</a >
199
202
</li >
200
- <li
201
- class = " kth-local-navigation__submenu"
202
- >
203
- <h3 >
203
+ <li >
204
+ <a
205
+ class = " expandable expanded"
206
+ href = " /kurs-pm/TEST121/om-kurs-pm"
207
+ >
204
208
Prepare and take course
205
- </h3 >
206
- <ul >
209
+ </a >
210
+ <ul
211
+ class = " kth-local-navigation__submenu"
212
+ >
207
213
<li >
208
214
<a
209
215
href = " /kurs-pm/TEST121/om-kurs-pm"
You can’t perform that action at this time.
0 commit comments