File tree 3 files changed +7
-3
lines changed
src/ci/docker/host-x86_64/x86_64-gnu-tools
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- 0.17.2
1
+ 0.18.0
Original file line number Diff line number Diff line change 1
1
// These tests verify that labels like "UNIX" and "Deprecated" stay on the same line as their symbol.
2
2
// It also verifies the staggered layout on mobile.
3
+ include: "utils.goml"
3
4
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
4
5
6
+ call-function: ("switch-theme", {"theme": "light"})
7
+
5
8
// Desktop view
6
9
set-window-size: (1080, 600)
7
10
assert: (".stab.deprecated")
Original file line number Diff line number Diff line change @@ -141,14 +141,15 @@ click: "#sidebar-button"
141
141
wait-for-css: (".src .sidebar > *", {"visibility": "hidden"})
142
142
// We scroll to line 117 to change the scroll position.
143
143
scroll-to: '//*[@id="117"]'
144
- assert-window-property: {"pageYOffset": "2516"}
144
+ store-value: (y_offset, "2493")
145
+ assert-window-property: {"pageYOffset": |y_offset|}
145
146
// Expanding the sidebar...
146
147
click: "#sidebar-button"
147
148
wait-for-css: (".sidebar", {"left": "0px"})
148
149
click: "#sidebar-button"
149
150
wait-for-css: (".sidebar", {"left": "-1000px"})
150
151
// The "scrollTop" property should be the same.
151
- assert-window-property: {"pageYOffset": "2516" }
152
+ assert-window-property: {"pageYOffset": |y_offset| }
152
153
153
154
// We now check that opening the sidebar and clicking a link will close it.
154
155
// The behavior here on mobile is different than the behavior on desktop,
You can’t perform that action at this time.
0 commit comments