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: strictly configure build folder for Firefox builds (#1454)
Andrey Lushnikov21630d6de4cf
diff --git a/browser_patches/firefox/archive.sh b/browser_patches/firefox/archive.shindex 1f652001b7..8b4fcb58d3 100755--- a/browser_patches/firefox/archive.sh+++ b/browser_patches/firefox/archive.sh@@ -32,11 +32,7 @@ trap "cd $(pwd -P)" EXITcd "$(dirname $0)"cd checkout-OBJ_FOLDER=$(ls -1 | grep obj-)-if [[ $OBJ_FOLDER == "" ]]; then- echo "ERROR: cannot find obj-* folder in the checkout/. Did you build?"- exit 1;-fi+OBJ_FOLDER="obj-build-playwright"./mach packagenode ../install-preferences.js $PWD/$OBJ_FOLDER/dist/firefoxdiff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.shindex fe8a8793a9..662eadaaf3 100755--- a/browser_patches/firefox/build.sh+++ b/browser_patches/firefox/build.sh@@ -36,12 +36,14 @@ elseexit 1;fi+OBJ_FOLDER="obj-build-playwright"+echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig+./mach build-OBJ_FOLDER=$(ls -1 | grep obj-)if [[ "$(uname)" == "Darwin" ]]; then- node ../install-preferences.js $PWD/$OBJ_FOLDER/dist+ node ../install-preferences.js $PWD/${OBJ_FOLDER}/distelse- node ../install-preferences.js $PWD/$OBJ_FOLDER/dist/bin+ node ../install-preferences.js $PWD/${OBJ_FOLDER}/dist/binfidiff --git a/browser_patches/firefox/clean.sh b/browser_patches/firefox/clean.shindex 1c7b9a0581..05c7f6e7b4 100755--- a/browser_patches/firefox/clean.sh+++ b/browser_patches/firefox/clean.sh@@ -6,7 +6,7 @@ trap "cd $(pwd -P)" EXITcd "$(dirname $0)"cd "checkout"-OBJ_FOLDER=$(ls -1 | grep obj- || true)+OBJ_FOLDER="obj-build-playwright"if [[ -d $OBJ_FOLDER ]]; thenrm -rf $OBJ_FOLDERfi