Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion test-slideover-1168-munger-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,14 @@ function assert(c, m) { if (!c) throw new Error(m || 'assertion failed'); }
const page = await ctx.newPage();
page.setDefaultTimeout(8000);
page.on('pageerror', (e) => console.error('[pageerror]', e.message));
await page.goto(BASE + '/#/packets', { waitUntil: 'domcontentloaded' });
// #1923 follow-up: pin an explicit window so this step tests the munger
// slide-over rather than the clock, the same way #1924 pinned
// test-slideover-1056-e2e.js. The packets page defaults to
// `since = now - 15 min` client-side, and the freshened fixture's newest
// rows age out of that window ~15 minutes after freshen-fixture.sh runs.
// Must be > 0: packets.js reads the param only under `_urlTimeWindow > 0`,
// so `timeWindow=0` silently keeps the default.
await page.goto(BASE + '/#/packets?timeWindow=1440', { waitUntil: 'domcontentloaded' });
await page.waitForSelector('#pktTable tbody tr[data-action]', { timeout: 8000 });

await step('hashchange: navigating away closes slide-over + releases scroll-lock', async () => {
Expand Down
Loading