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: proper fix for git directory permissions (#16020)
Andrey Lushnikovabf951ebece8
diff --git a/browser_patches/docker_build.sh b/browser_patches/docker_build.shindex b250e569a2..9b40b44ddb 100755--- a/browser_patches/docker_build.sh+++ b/browser_patches/docker_build.sh@@ -187,12 +187,8 @@ function ensure_docker_container {git config --system http.lowSpeedLimit 0git config --system http.lowSpeedTime 999999- # set git safe directory- git config --system --add safe.directory /home/pwuser/playwright-- su pwusercd /home/pwuser- git clone --depth=1 https://github.com/microsoft/playwright+ su -l pwuser -c "git clone --depth=1 https://github.com/microsoft/playwright"'}@@ -216,6 +212,8 @@ elif [[ "$2" == "enter" || -z "$2" ]]; thendocker exec --user pwuser --workdir "/home/pwuser/playwright" ${DOCKER_ARGS} -it "${DOCKER_CONTAINER_NAME}" /bin/bashelif [[ "$2" == "kill" || "$2" == "stop" ]]; thendocker kill "${DOCKER_CONTAINER_NAME}"+ # Wait for container to stop+ docker wait "${DOCKER_CONTAINER_NAME}" || trueelseecho "ERROR: unknown command - $2"exit 1