Skip to content

fix: e2e failing on macOS #4778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2025
Merged

fix: e2e failing on macOS #4778

merged 1 commit into from
Apr 4, 2025

Conversation

techfg
Copy link
Collaborator

@techfg techfg commented Apr 4, 2025

What does this PR do?

e2e tests are failing on macOS, but work on linux including CI.

This should make them work everywhere. See README in platform-e2e folder for details.

Testing

Works on linux. ci & e2e will cover.

@humandad - Please test on mac and let me know. Thanks!

@techfg techfg requested review from humandad and Copilot April 4, 2025 18:57
Copy link

@Copilot 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.

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

Files not reviewed (3)
  • apps/platform-e2e/package.json: Language not supported
  • apps/platform-e2e/tsconfig.json: Language not supported
  • nx.json: Language not supported
Comments suppressed due to low confidence (1)

apps/platform-e2e/README.md:40

  • The documentation appears to have conflicting instructions regarding the configuration format (switching between ts and mjs). Please clarify which configuration should be used to avoid confusion.
When `package.json` exists in `platform-e2e` folder with "type": "module", `npx nx graph` no longer seems to fail so changing approach to go back to `ts` file and adding `package.json` to folder with "type": "module". This is still a workaround for what appears to be an issue with cypress and/or nx/cypress integration where it respects root level package.json "type": "module" to get things started but then NX cypress plugin only looks in the folder itself and ends up loading commonjs. Nothing wrong with having the package.json in the folder with "type": "module", just should be unnecessary.

@techfg techfg merged commit 40eae83 into main Apr 4, 2025
5 checks passed
@techfg techfg deleted the fix/e2e-fails-on-mac branch April 4, 2025 19:27
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