Skip to content

fix e2e tests performance#162

Merged
JesperDramsch merged 2 commits intomainfrom
claude/fix-e2e-tests-performance-26ptt
Jan 4, 2026
Merged

fix e2e tests performance#162
JesperDramsch merged 2 commits intomainfrom
claude/fix-e2e-tests-performance-26ptt

Conversation

@JesperDramsch
Copy link
Copy Markdown
Owner

No description provided.

claude added 2 commits January 4, 2026 22:00
- Add explicit Jekyll build step before serve to fix failing tests
- Remove --incremental flag which caused empty site in CI
- Replace all waitForTimeout() calls with proper DOM-based waits
- Reduce waitForCountdowns timeout from 10s to 5s
- Replace networkidle with domcontentloaded for faster page loads
- Reduce wait-on server timeout from 30s to 15s

These changes should significantly reduce E2E test runtime and fix
the 64 failing tests caused by serving an unbuilt site.
Reduces workflow build time by eliminating 4 redundant Jekyll builds.
Previously each of the 5 jobs (3 browser matrix + mobile + visual) built
the site independently.

Now:
- A dedicated `build` job builds Jekyll once and uploads _site as artifact
- All test jobs download the pre-built artifact instead of rebuilding
- Test jobs use `serve` to host static files (no Ruby needed)
- Removes Ruby setup from test jobs entirely

This should cut the overall workflow time significantly since Jekyll
build is the most time-consuming step.
@JesperDramsch JesperDramsch merged commit 10d2e53 into main Jan 4, 2026
11 checks passed
@JesperDramsch JesperDramsch deleted the claude/fix-e2e-tests-performance-26ptt branch January 4, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants