Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ jobs:
name: "🎭 Playwright E2E Tests"
needs: [go-test]
runs-on: ubuntu-latest
timeout-minutes: 150
defaults:
run:
shell: bash
Expand Down
10 changes: 10 additions & 0 deletions test-slideover-1056-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ const PAGES = [
// ---- Narrow viewport: slide-over MUST appear ----
for (const p of PAGES) {
const ctx = await browser.newContext({ viewport: { width: 800, height: 800 } });
if (p.name === 'packets') {
// The CI fixture is static: timestamps are freshened once before the
// server starts. The packets page defaults to a 15-min window, so rows
// vanish ~15 min into the job; 180 is the largest window packets.js
// keeps at <=1024px (larger values reset to 15). The e2e job's
// timeout-minutes keeps the run inside that window.
await ctx.addInitScript(() => {
try { localStorage.setItem('meshcore-time-window', '180'); } catch (_) {}
});
}
const page = await ctx.newPage();
page.setDefaultTimeout(8000);
page.on('pageerror', (e) => console.error('[pageerror]', e.message));
Expand Down
Loading