From c9429283d736ff7a53200b9a94bb01b42b4e49a7 Mon Sep 17 00:00:00 2001 From: Ronie Martinez Date: Thu, 5 May 2022 01:15:09 +0200 Subject: [PATCH] chore(codegen): rename script.js to example.py for Python tests (#13945) --- tests/library/inspector/cli-codegen-python-async.spec.ts | 2 +- tests/library/inspector/cli-codegen-python.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/library/inspector/cli-codegen-python-async.spec.ts b/tests/library/inspector/cli-codegen-python-async.spec.ts index b7b2507adf..631e160a7b 100644 --- a/tests/library/inspector/cli-codegen-python-async.spec.ts +++ b/tests/library/inspector/cli-codegen-python-async.spec.ts @@ -84,7 +84,7 @@ async def run(playwright: Playwright) -> None: }); test('should save the codegen output to a file if specified', async ({ browserName, channel, runCLI }, testInfo) => { - const tmpFile = testInfo.outputPath('script.js'); + const tmpFile = testInfo.outputPath('example.py'); const cli = runCLI(['--target=python-async', '--output', tmpFile, emptyHTML]); await cli.exited; const content = fs.readFileSync(tmpFile); diff --git a/tests/library/inspector/cli-codegen-python.spec.ts b/tests/library/inspector/cli-codegen-python.spec.ts index 53bb91924a..40b81476dd 100644 --- a/tests/library/inspector/cli-codegen-python.spec.ts +++ b/tests/library/inspector/cli-codegen-python.spec.ts @@ -76,7 +76,7 @@ def run(playwright: Playwright) -> None: }); test('should save the codegen output to a file if specified', async ({ runCLI, channel, browserName }, testInfo) => { - const tmpFile = testInfo.outputPath('script.js'); + const tmpFile = testInfo.outputPath('example.py'); const cli = runCLI(['--target=python', '--output', tmpFile, emptyHTML]); await cli.exited; const content = fs.readFileSync(tmpFile);