From afa9d69b6344b9821f7ae9db649beddb1db7a6e3 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 11 Jun 2021 04:56:41 -0700 Subject: [PATCH] test: fix installation tests (#7069) This was regressed by 3b1bae8a406f5d12a6d82592a0b14889813ac681 --- packages/installation-tests/installation-tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/installation-tests/installation-tests.sh b/packages/installation-tests/installation-tests.sh index 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 1 fi - 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 1 fi