Skip to content

Commit 51572d5

Browse files
GuillaumeGomezsyphar
authored andcommitted
Update browser-ui-test to 0.20.1
1 parent 5756a7c commit 51572d5

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

dockerfiles/Dockerfile-gui-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ RUN mkdir out
7474
# https://github.com/puppeteer/puppeteer/issues/375
7575
#
7676
# We also specify the version in case we need to update it to go around cache limitations.
77-
RUN npm install -g browser-ui-test@0.16.10 --unsafe-perm=true
77+
RUN npm install -g browser-ui-test@0.20.1 --unsafe-perm=true
7878

7979
EXPOSE 3000
8080

gui-tests/tester.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ async function main(argv) {
122122
const options = new Options();
123123
try {
124124
// This is more convenient that setting fields one by one.
125-
const args = [
126-
"--no-sandbox",
127-
];
125+
const args = [];
128126
if (typeof process.env.SERVER_URL !== "undefined") {
129127
args.push("--variable", "DOC_PATH", process.env.SERVER_URL);
130128
} else {

gui-tests/topbar-resize.goml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ store-value: (window_height, 1000)
44

55
define-function: (
66
"check-topbar",
7-
(width, text_display, search_display, search_max_width),
7+
[width, text_display, search_display, search_max_width],
88
block {
99
set-window-size: (|width|, |window_height|)
1010
wait-for-css: (".nav-container > .container a > .title", {"display": |text_display|})
@@ -24,7 +24,7 @@ define-function: (
2424

2525
define-function: (
2626
"check-topbar-sizes",
27-
(),
27+
[],
2828
block {
2929
set-window-size: (1100, |window_height|)
3030
store-size: ("body > .nav-container", {"height": top_navbar_height})
@@ -92,7 +92,7 @@ define-function: (
9292
)
9393

9494
go-to: |DOC_PATH| + "/sysinfo"
95-
call-function: ("check-topbar-sizes", ())
95+
call-function: ("check-topbar-sizes", {})
9696

9797
go-to: |DOC_PATH| + "/releases/search?query=sysinfo"
98-
call-function: ("check-topbar-sizes", ())
98+
call-function: ("check-topbar-sizes", {})

0 commit comments

Comments
 (0)