mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(codegen): rename script.js to example.py for Python tests (#13945)
This commit is contained in:
parent
cfde11b6e2
commit
c9429283d7
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user