Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"browser-ui-test": "0.21.0",
"browser-ui-test": "0.21.1",
"eslint": "^8.57.1"
},
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions tests/gui/sidebar.goml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@ define-function: (
},
)

// Since the sidebar is visible, we should be able to find this text.
assert-find-text: ("3.9. Links and Horizontal Rule", {"case-sensitive": true})
call-function: ("hide-sidebar", {})
// Text should not be findeable anymore since the sidebar is collapsed.
assert-find-text-false: ("3.9. Links and Horizontal Rule", {"case-sensitive": true})
call-function: ("show-sidebar", {})
// We should be able to find this text again.
assert-find-text: ("3.9. Links and Horizontal Rule", {"case-sensitive": true})

// We now test on smaller width to ensure that the sidebar is collapsed by default.
set-window-size: (900, 600)
Expand Down