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
test: fix installation tests (#7069)
Andrey Lushnikovafa9d69b6344
diff --git a/packages/installation-tests/installation-tests.sh b/packages/installation-tests/installation-tests.shindex e86e7d9baa..f689cc9ec4 100755--- a/packages/installation-tests/installation-tests.sh+++ b/packages/installation-tests/installation-tests.sh@@ -529,12 +529,12 @@ function test_playwright_cli_codegen_should_work {echo "Running playwright codegen"OUTPUT=$(PWTEST_CLI_EXIT=1 xvfb-run --auto-servernum -- bash -c "npx playwright codegen")- if [[ "${OUTPUT}" != *"chromium.launch"* ]]; then- echo "ERROR: missing chromium.launch in the output"+ if [[ "${OUTPUT}" != *"@playwright/test"* ]]; then+ echo "ERROR: missing @playwright/test in the output"exit 1fi- if [[ "${OUTPUT}" != *"browser.close"* ]]; then- echo "ERROR: missing browser.close in the output"+ if [[ "${OUTPUT}" != *"page.close"* ]]; then+ echo "ERROR: missing page.close in the output"exit 1fi