(url)
| 918 | if ((await projectShown(page)) !== PROJECT) { await switchTo(page, PROJECT); await wait(2500); } |
| 919 | await tab(page, 'explore'); |
| 920 | const slowLayout = (url) => /\/api\/layout/.test(url.pathname) && url.searchParams.get('project') === PROJECT; |
| 921 | const delay = async (route) => { await wait(4000); await route.continue().catch(() => {}); }; |
| 922 | await page.route(slowLayout, delay); |
| 923 | const clicked = await now(page); |