Skip to content

Commit 38f8f21

Browse files
authored
fix(interop-tests): Update chrome container
Pull-Request: #5431.
1 parent 75288ca commit 38f8f21

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

interop-tests/Dockerfile.chromium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY . .
2020
RUN wasm-pack build --target web interop-tests
2121
RUN RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --package interop-tests --target x86_64-unknown-linux-gnu --bin wasm_ping
2222

23-
FROM selenium/standalone-chrome:115.0
23+
FROM selenium/standalone-chrome:125.0
2424
COPY --from=builder /app/target/x86_64-unknown-linux-gnu/release/wasm_ping /usr/local/bin/testplan
2525
ENV RUST_BACKTRACE=1
2626
ENTRYPOINT ["testplan"]

interop-tests/src/bin/wasm_ping.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ async fn open_in_browser() -> Result<(Child, WebDriver)> {
130130
// run a webdriver client
131131
let mut caps = DesiredCapabilities::chrome();
132132
caps.set_headless()?;
133+
caps.set_disable_dev_shm_usage()?;
134+
caps.set_no_sandbox()?;
133135
let driver = WebDriver::new("http://localhost:45782", caps).await?;
134136
// go to the wasm test service
135137
driver.goto(format!("http://{BIND_ADDR}")).await?;

0 commit comments

Comments
 (0)