tests: fix installation tests (#12048)

Follow-up to da2cecbea0
This commit is contained in:
Andrey Lushnikov 2022-02-11 14:17:06 -07:00 committed by GitHub
parent 7e7996a7b7
commit 94fc45a3db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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