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: be compatible with multiple MSVS installations (#16121)
Max Schmitt99cc3869d204
diff --git a/browser_patches/firefox-beta/build.sh b/browser_patches/firefox-beta/build.shindex c00a1f5c84..8b7b175c1b 100755--- a/browser_patches/firefox-beta/build.sh+++ b/browser_patches/firefox-beta/build.sh@@ -75,7 +75,7 @@ elif is_win; thenecho "ac_add_options --target=x86_64-pc-mingw32" >> .mozconfigecho "ac_add_options --host=x86_64-pc-mingw32" >> .mozconfigDLL_FILE=$("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll')- WIN32_REDIST_DIR=$(dirname "$DLL_FILE")+ WIN32_REDIST_DIR=$(dirname "$DLL_FILE" | tail -n 1)if ! [[ -d $WIN32_REDIST_DIR ]]; thenecho "ERROR: cannot find MS VS C++ redistributable $WIN32_REDIST_DIR"exit 1;diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.shindex 6efa28a9d7..4f2e8c1b54 100755--- a/browser_patches/firefox/build.sh+++ b/browser_patches/firefox/build.sh@@ -68,7 +68,7 @@ elif is_win; thenecho "ac_add_options --target=x86_64-pc-mingw32" >> .mozconfigecho "ac_add_options --host=x86_64-pc-mingw32" >> .mozconfigDLL_FILE=$("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll')- WIN32_REDIST_DIR=$(dirname "$DLL_FILE")+ WIN32_REDIST_DIR=$(dirname "$DLL_FILE" | tail -n 1)if ! [[ -d $WIN32_REDIST_DIR ]]; thenecho "ERROR: cannot find MS VS C++ redistributable $WIN32_REDIST_DIR"exit 1;diff --git a/browser_patches/utils.sh b/browser_patches/utils.shindex 28a731769f..03268c19d2 100644--- a/browser_patches/utils.sh+++ b/browser_patches/utils.sh@@ -35,7 +35,7 @@ function selectXcodeVersionOrDie() {# see https://docs.microsoft.com/en-us/visualstudio/install/tools-for-managing-visual-studio-instances?view=vs-2019function printMSVCRedistDir() {local dll_file=$("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll')- local redist_dir=$(dirname "$dll_file")+ local redist_dir=$(dirname "$dll_file" | tail -n 1)if ! [[ -d $redist_dir ]]; thenecho "ERROR: cannot find MS VS C++ redistributable $redist_dir"exit 1;