Skip to content

fix: update project prefix for automation nodes in test file - #718

Merged
pikann merged 1 commit into
masterfrom
fix/update-project-prefix-for-automation-nodes-e2e-testing
Nov 9, 2026
Merged

pikann merged 1 commit into
masterfrom
fix/update-project-prefix-for-automation-nodes-e2e-testing

Conversation

@pikann

@pikann pikann commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes most of the automation-nodes.spec.ts failures in run 42560470415.

Cause

automation.spec.ts cleans up every project whose name starts with E2E_AUTOMATION_. The nodes spec named its projects E2E_AUTOMATION_NODES_…, which starts with that prefix. When the two specs ran on different workers, the other spec's cleanup deleted the nodes spec's project mid-test. The builder page then redirected to /home and getByRole("heading", { name }) in openBuilder timed out. The error-context snapshot from CI showed the home page with no E2E_AUTOMATION_NODES_ project listed.

Changes

  • automation-nodes.spec.ts: rename PROJECT_PREFIX from E2E_AUTOMATION_NODES_ to E2E_ANODES_, which no other spec's prefix overlaps.

Testing

  • automation.spec.ts and automation-nodes.spec.ts together, 3 workers, chromium: 48/48 pass locally.
  • Not run locally: webkit, firefox, mobile-safari (not installed). CI will cover them.
  • The other single-browser failures in that run (passkeys, role-badges-selector, git-automation, pagination, docs, mfa) are in unrelated specs, were not investigated, and may be flaky.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

  • Rename automation-nodes project prefix — PROJECT_PREFIX in apps/e2e/tests/projects/automation-nodes.spec.ts changes from E2E_AUTOMATION_NODES_ to E2E_ANODES_, removing the startsWith("E2E_AUTOMATION_") overlap with automation.spec.ts's cross-worker cleanup.

I checked every *_PREFIX literal under apps/e2e/tests: E2E_ANODES_ is unique and no other cleanup prefix is either a prefix of it or contains it (E2E_ACCT_, E2E_ACPCONV_, E2E_ACTIVITY_, E2E_ADMAGENTS_, E2E_AGENTS_, E2E_AUTOMATION_ are the neighbouring E2E_A… values). The old prefix has no remaining references in specs, features, README, or workflows, and all four PROJECT_PREFIX use sites (create + cleanup) pick up the rename. The diagnosis is sound: cleanupProjectsByPrefix filters by startsWith, so the old name was genuinely in scope for automation.spec.ts's E2E_AUTOMATION_ sweep.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

@pikann
pikann merged commit 82adbac into master Nov 9, 2026
2 checks passed
@pikann
pikann deleted the fix/update-project-prefix-for-automation-nodes-e2e-testing branch November 9, 2026 05:25
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.

1 participant