Skip to content

test(e2e): Show test progress & ensure we clean before running tests #8649

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
Jul 26, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Jul 26, 2023

Noticed that when running yarn test:run it sometimes hang forever. Solved this with two steps:

  1. Make sure we actually output the shell stuff, as otherwise it is super hard to debug what's going on.
  2. The problem was that sometimes pnpm prompts to re-create node_modules (??), and the prompt was obviously forever hanging. I couldn't find any option to disable this from pnpm side, sadly 😬 So I ended up adding a step to clean out all node_modules etc. before running the tests.

@mydea mydea self-assigned this Jul 26, 2023
@mydea mydea merged commit 03b7461 into develop Jul 26, 2023
@mydea mydea deleted the fn/fix-e2e branch July 26, 2023 14:15
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.

2 participants