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 11{
22 "dependencies" : {
3- "browser-ui-test" : " 0.21.0 " ,
3+ "browser-ui-test" : " 0.21.1 " ,
44 "eslint" : " ^8.57.1"
55 },
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -43,8 +43,14 @@ define-function: (
4343 },
4444)
4545
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})
4648call-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})
4751call-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})
4854
4955// We now test on smaller width to ensure that the sidebar is collapsed by default.
5056set-window-size: (900, 600)
You can’t perform that action at this time.
0 commit comments