Skip to content

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

tests: fix installation tests (#12048)

Andrey Lushnikov94fc45a3db1f
diff --git a/installation-tests/installation-tests.sh b/installation-tests/installation-tests.sh
index 6bd84917c2..633c4bd3dd 100755
--- a/installation-tests/installation-tests.sh
+++ b/installation-tests/installation-tests.sh
@@ -561,11 +561,6 @@ function test_playwright_cli_codegen_should_work {
echo "ERROR: missing @playwright/test in the output"
exit 1
fi
- if [[ "${OUTPUT}" != *"page.close"* ]]; then
- echo "ERROR: missing page.close in the output"
- exit 1
- fi
-
echo "Running playwright codegen --target=python"
OUTPUT=$(PWTEST_CLI_EXIT=1 xvfb-run --auto-servernum -- bash -c "npx playwright codegen --target=python")
if [[ "${OUTPUT}" != *"chromium.launch"* ]]; then