Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: add safe directory (#16018)

Andrey Lushnikov2733924d1d42
diff --git a/browser_patches/docker_build.sh b/browser_patches/docker_build.sh
index b8a952f427..b250e569a2 100755
--- a/browser_patches/docker_build.sh
+++ b/browser_patches/docker_build.sh
@@ -187,6 +187,9 @@ function ensure_docker_container {
git config --system http.lowSpeedLimit 0
git config --system http.lowSpeedTime 999999
+ # set git safe directory
+ git config --system --add safe.directory /home/pwuser/playwright
+
su pwuser
cd /home/pwuser
git clone --depth=1 https://github.com/microsoft/playwright