Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(codegen): rename script.js to example.py for Python tests (#13945)
Ronie Martinezc9429283d736
diff --git a/tests/library/inspector/cli-codegen-python-async.spec.ts b/tests/library/inspector/cli-codegen-python-async.spec.tsindex 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.tsindex 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);