cherry-pick(#12048): tests: fix installation tests (#12050)

SHA: 94fc45a3db

Follow-up to da2cecbea0
This commit is contained in:
Andrey Lushnikov 2022-02-11 14:18:20 -07:00 committed by GitHub
parent 241add240c
commit 03501cfdb2
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