code move

This commit is contained in:
Max Schmitt 2024-09-24 12:34:13 +02:00
parent 00257651fd
commit a2cb11cfd6

View file

@ -550,8 +550,6 @@ await page.Locator("#textarea").FillAsync(\"Hello'\\"\`\\nWorld\");`);
expect(message.text()).toBe('Hello\'\"\`\nWorld');
});
});
test('should --test-id-attribute', async ({ openRecorder }) => {
const { page, recorder } = await openRecorder({ testIdAttributeName: 'my-test-id' });
@ -565,3 +563,4 @@ test('should --test-id-attribute', async ({ openRecorder }) => {
expect.soft(sources.get('Python Async')!.text).toContain(`await page.get_by_test_id("foo").click()`);
expect.soft(sources.get('C#')!.text).toContain(`await page.GetByTestId("foo").ClickAsync();`);
});
});