Skip to content
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

refactor(core): Support writing tests in cli/src (no-changelog) #9646

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jun 6, 2024

This PR allows us to start writing tests in packages/cli/src/**/__tests__ for better organization and visibility of coverage.

Extracted from: #9453

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jun 6, 2024
Copy link

cypress bot commented Jun 6, 2024

1 flaky test on run #5338 ↗︎

0 361 0 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Project: n8n Commit: 8bb1fb35c5
Status: Passed Duration: 04:41 💡
Started: Jun 6, 2024 10:10 AM Ended: Jun 6, 2024 10:15 AM
Flakiness  cypress/e2e/5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video

Review all test suite changes for PR #9646 ↗︎

Copy link
Contributor

github-actions bot commented Jun 6, 2024

✅ All Cypress E2E specs passed

@ivov ivov merged commit 65cd2e8 into master Jun 6, 2024
29 checks passed
@ivov ivov deleted the support-writing-tests-in-src-in-cli branch June 6, 2024 10:18
MiloradFilipovic added a commit that referenced this pull request Jun 6, 2024
* master:
  feat: Initial Dev Containers setup (no-changelog) (#8951)
  feat: Add support for dark mode node icons and colors (#9412)
  fix(Gotify Node): Fix issue with self signed certificates not working (#9647)
  refactor(core): Support writing tests in `cli/src` (no-changelog) (#9646)
  fix(n8n Form Trigger Node): Error if Respond to Webhook and respond node not in workflow (#9641)
@janober
Copy link
Member

janober commented Jun 12, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants