Dynamic & timing
Lazy tabs & accordions
Tabs and accordion panels that fetch their content on first open and then cache it.
Practice tasks
- Open the second tab and wait for its content, then return and assert it is cached (no skeleton).
- Expand every accordion section and assert aria-expanded and the loaded text for each.
- Count requests to /api/feed with page.on('request') and prove tabs fetch only once.
- Use getByRole('tab') and getByRole('tabpanel') with names.