File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,12 @@ Testing Library Extension for Chrome DevTools Recorder
3838| ` doubleClick ` | ` await userEvent.dblClick(element) ` |
3939| ` keyDown ` | ` await userEvent.keyboard("{Key>}") ` |
4040| ` keyUp ` | ` await userEvent.keyboard("{/Key}") ` |
41- | ` navigate ` | ` expect(location.href).toBe("https://example.com/") ` ` expect(document.title).toBe("Example Domain") ` |
41+ | ` navigate ` \* | ` expect(location.href).toBe("https://example.com/") ` ` expect(document.title).toBe("Example Domain") ` |
4242| ` waitForElement ` | ` await waitFor(() => element) ` |
4343| ` waitForExpression ` | ` await waitFor(() => expression) ` |
4444
45+ \* Only one ` navigate ` step is allowed per test because ` jest-environment-url ` must load pages since ` jsdom ` does not support navigation.
46+
4547## Inspiration
4648
4749- [ Puppeteer Replay examples] ( https://github.com/puppeteer/replay/tree/main/examples )
You can’t perform that action at this time.
0 commit comments