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

test: Update e2e tests for canvas specific actions (no-changelog) #12614

Merged
merged 12 commits into from
Jan 21, 2025

Conversation

alexgrozav
Copy link
Member

@alexgrozav alexgrozav commented Jan 15, 2025

Summary

image
  • Unknown nodes test is expected to fail until further notice
  • Checked that this Test suite passes without issues using old canvas after changes

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/CAT-525/12-canvas

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@alexgrozav alexgrozav self-assigned this Jan 15, 2025
@alexgrozav alexgrozav changed the title test: Update e2e tests for canvas specific actions test: Update e2e tests for canvas specific actions (no-changelog) Jan 15, 2025
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jan 15, 2025
Copy link
Contributor

@OlegIvaniv OlegIvaniv left a comment

Choose a reason for hiding this comment

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

Yaay, it drags! :D Great job, just a small nitpick

cy.get(draggableSelector).trigger('mousedown');
cy.ifCanvasVersion(
() => {
// We can't use realMouseDown here because it hangs headless run
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like this comment is no longer relevant. At least locally realMouseDown no longer hangs the tests. So perhaps we could simplify this by always using it?

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...itor-ui/src/components/ContextMenu/ContextMenu.vue 0.00% 3 Missing ⚠️
...nents/canvas/elements/nodes/CanvasNodeRenderer.vue 88.88% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

OlegIvaniv
OlegIvaniv previously approved these changes Jan 16, 2025
Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link

cypress bot commented Jan 16, 2025

n8n    Run #8857

Run Properties:  status check passed Passed #8857  •  git commit 2d2dd52bf0: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 alexgrozav 🗃️ e2e/*
Project n8n
Branch Review cat-525-12-canvas
Run status status check passed Passed #8857
Run duration 05m 08s
Commit git commit 2d2dd52bf0: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 alexgrozav 🗃️ e2e/*
Committer Alex Grozav
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 491
View all changes introduced in this branch ↗︎

OlegIvaniv
OlegIvaniv previously approved these changes Jan 17, 2025
Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

OlegIvaniv
OlegIvaniv previously approved these changes Jan 20, 2025
Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

OlegIvaniv
OlegIvaniv previously approved these changes Jan 20, 2025
Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link
Contributor

✅ All Cypress E2E specs passed

@alexgrozav alexgrozav merged commit 2d3b643 into master Jan 21, 2025
38 checks passed
@alexgrozav alexgrozav deleted the cat-525-12-canvas branch January 21, 2025 08:30
@janober
Copy link
Member

janober commented Jan 22, 2025

Got released with [email protected]

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

Successfully merging this pull request may close these issues.

4 participants