File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"dependencies" : {
3
- "browser-ui-test" : " 0.21.0 " ,
3
+ "browser-ui-test" : " 0.21.1 " ,
4
4
"eslint" : " ^8.57.1"
5
5
},
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -43,8 +43,14 @@ define-function: (
43
43
},
44
44
)
45
45
46
+ // Since the sidebar is visible, we should be able to find this text.
47
+ assert-find-text: ("3.9. Links and Horizontal Rule", {"case-sensitive": true})
46
48
call-function: ("hide-sidebar", {})
49
+ // Text should not be findeable anymore since the sidebar is collapsed.
50
+ assert-find-text-false: ("3.9. Links and Horizontal Rule", {"case-sensitive": true})
47
51
call-function: ("show-sidebar", {})
52
+ // We should be able to find this text again.
53
+ assert-find-text: ("3.9. Links and Horizontal Rule", {"case-sensitive": true})
48
54
49
55
// We now test on smaller width to ensure that the sidebar is collapsed by default.
50
56
set-window-size: (900, 600)
You can’t perform that action at this time.
0 commit comments