Skip to content

Commit

Permalink
fix(interop-tests): Update chrome container
Browse files Browse the repository at this point in the history
Pull-Request: #5431.
  • Loading branch information
oblique authored May 30, 2024
1 parent 75288ca commit 38f8f21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion interop-tests/Dockerfile.chromium
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY . .
RUN wasm-pack build --target web interop-tests
RUN RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --package interop-tests --target x86_64-unknown-linux-gnu --bin wasm_ping

FROM selenium/standalone-chrome:115.0
FROM selenium/standalone-chrome:125.0
COPY --from=builder /app/target/x86_64-unknown-linux-gnu/release/wasm_ping /usr/local/bin/testplan
ENV RUST_BACKTRACE=1
ENTRYPOINT ["testplan"]
2 changes: 2 additions & 0 deletions interop-tests/src/bin/wasm_ping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ async fn open_in_browser() -> Result<(Child, WebDriver)> {
// run a webdriver client
let mut caps = DesiredCapabilities::chrome();
caps.set_headless()?;
caps.set_disable_dev_shm_usage()?;
caps.set_no_sandbox()?;
let driver = WebDriver::new("http://localhost:45782", caps).await?;
// go to the wasm test service
driver.goto(format!("http://{BIND_ADDR}")).await?;
Expand Down

0 comments on commit 38f8f21

Please sign in to comment.