참고소스 수정본
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
const { test, expect } = require('@playwright/test');
|
||||
|
||||
test('failing test', async ({ page }) => {
|
||||
await page.setContent(`<div>hello</div><span>world</span>`);
|
||||
await expect(page.locator('span')).toHaveText('hello', { timeout: 1000 });
|
||||
});
|
||||
Reference in New Issue
Block a user