Files
AI/참고/playwright-main/tests/installation/fixture-scripts/failing.spec.js

7 lines
242 B
JavaScript
Raw Normal View History

2026-05-12 19:40:31 +09:00
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 });
});