Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops: gracefully handle stopping already-stopped container (#16528)
Andrey Lushnikov81ed8fc523b9
diff --git a/browser_patches/docker/cli.sh b/browser_patches/docker/cli.shindex 5719d2c2c2..0356775250 100755--- a/browser_patches/docker/cli.sh+++ b/browser_patches/docker/cli.sh@@ -86,7 +86,7 @@ elif [[ "$2" == "compile" ]]; thenelif [[ "$2" == "enter" ]]; thendocker run --rm ${DOCKER_ARGS} --init --name "${DOCKER_CONTAINER_NAME}" --platform "${DOCKER_PLATFORM}" -it "${DOCKER_IMAGE_NAME}" /bin/bashelif [[ "$2" == "kill" || "$2" == "stop" ]]; then- docker kill "${DOCKER_CONTAINER_NAME}"+ docker kill "${DOCKER_CONTAINER_NAME}" || true# Wait for container to stopdocker wait "${DOCKER_CONTAINER_NAME}" || trueelse