Skip to content

fix: CI pnpm version mismatch and flaky E2E tests#33

Merged
pipewrk merged 3 commits intomainfrom
feature/13-fix-flaky-e2e-tests
Oct 2, 2025
Merged

fix: CI pnpm version mismatch and flaky E2E tests#33
pipewrk merged 3 commits intomainfrom
feature/13-fix-flaky-e2e-tests

Conversation

@pipewrk
Copy link
Contributor

@pipewrk pipewrk commented Oct 2, 2025

Overview

Fixes CI failures on main after PR #32 merge and addresses flaky E2E tests.

Changes

1. CI Fixes

  • ✅ Update pnpm version from 9.12.3 to 10.17.1 in CI workflow (matches package.json)
  • ✅ Fix ESLint warnings for nested vite.config files
  • ✅ Regenerate API docs after Vite migration

2. Flaky E2E Tests (Issue #13)

  • 🔄 TODO: Investigate and fix flaky E2E test failures
  • 🔄 TODO: Add proper wait conditions and retry logic

Related Issues

Testing

  • CI will validate pnpm version fix
  • E2E tests to be stabilized

Status: 🚧 Work in progress - CI fixes complete, E2E investigation in progress

Copilot AI review requested due to automatic review settings October 2, 2025 03:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses CI pipeline failures and flaky E2E tests by updating dependency versions and improving ESLint configuration. The primary focus is fixing a pnpm version mismatch that was causing CI failures after PR #32.

  • Update pnpm version in CI from 9.12.3 to 10.17.1 to match package.json
  • Extend ESLint configuration to handle nested config files with default exports
  • Address ongoing E2E test flakiness issues

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci.yml Updates pnpm version to match package.json dependency
eslint.config.js Extends config file patterns to include nested directories

- Extended import/no-default-export exception to **/*.config.*
- Fixes warnings for vite.config.ts in packages/ and app/
- Config files conventionally use default exports
- Replace arbitrary waitForTimeout() with proper selector waits
- Increase timeouts for slow CI environments (5s → 15s)
- Use domcontentloaded instead of networkidle for initial navigation
- Add explicit visibility checks for elements
- Increase action timeout from 10s to 15s
- Add navigation timeout of 30s
- Better loading state detection with try/catch
- More robust wait conditions before assertions

Addresses #13
- Add e2e-test to needs array in all-checks job
- Add e2e-test.result check in status validation
- Ensures E2E tests must pass for PR merge
@pipewrk pipewrk force-pushed the feature/13-fix-flaky-e2e-tests branch from b79858b to 851528c Compare October 2, 2025 03:49
@pipewrk pipewrk merged commit 57fa64a into main Oct 2, 2025
7 checks passed
@pipewrk pipewrk deleted the feature/13-fix-flaky-e2e-tests branch October 5, 2025 01:48
@github-actions github-actions bot mentioned this pull request Oct 6, 2025
pipewrk added a commit that referenced this pull request Nov 8, 2025
fix: CI pnpm version mismatch and flaky E2E tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C3: E2E (Playwright)

2 participants