Playwright React Selector Fixture
Steps to reproduce the bug:
- Clone this repository
git clone git@github.com:hanayashiki/playwright-react-selector-fixture.git
cd playwright-react-selector-fixture
- Install dependencies
- Leave the dev server running
- In another terminal, run
- Wait for
timeout exceeded
Test timeout of 30000ms exceeded.
locator.waitFor: Target closed
=========================== logs ===========================
waiting for locator('_react=App').locator('div')
============================================================
7 | await page.goto("http://localhost:5174/");
8 |
> 9 | await page.locator("_react=App >> div").waitFor({ state: "attached" });
| ^
10 | });
11 |