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(Redis Node): Continue on Fail for Redis (no-changelog) #12190

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

dana-gill
Copy link
Contributor

@dana-gill dana-gill commented Dec 12, 2024

Summary

This PR add tests for continue on fail for Redis. The PR resets mocks instead of clearing them to have a more clean state for testing in Redis.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-2147/redis-node-add-tests-and-investigate-success-also-outputting-on-error
Follow up for #11714 (review)

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)

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels Dec 12, 2024
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@dana-gill dana-gill marked this pull request as ready for review December 13, 2024 09:09
@dana-gill dana-gill changed the title test: Continue on Fail for Redis test(Redis Node): Continue on Fail for Redis (no-changelog) Dec 13, 2024
Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

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

Mostly looks good 🎉 left some minor comments to improve clarity
also could you add tests for when continue on fail is set to false 🙏

@dana-gill dana-gill force-pushed the node-177-redis-tests-continue-on-fail branch from d88bd5f to d86b989 Compare December 13, 2024 16:06
Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

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

left some comments to improve clarity apart from that looks good 👍

@dana-gill dana-gill force-pushed the node-177-redis-tests-continue-on-fail branch from fb24763 to de13d72 Compare December 16, 2024 16:34
Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

Copy link

cypress bot commented Dec 16, 2024

n8n    Run #8367

Run Properties:  status check failed Failed #8367  •  git commit f44e4904c8: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Project n8n
Branch Review master
Run status status check failed Failed #8367
Run duration 04m 36s
Commit git commit f44e4904c8: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Committer Dana
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
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 479
View all changes introduced in this branch ↗︎

Tests for review

Failed  e2e/45-workflow-selector-parameter.cy.ts • 1 failed test

View Output Video

Test Artifacts
Workflow Selector Parameter > should render add resource option and redirect to the correct route when clicked Test Replay Screenshots Video
Flakiness  e2e/14-mapping.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Data mapping > maps expressions from json view Test Replay Screenshots Video

Copy link
Contributor

✅ All Cypress E2E specs passed

@ShireenMissi ShireenMissi merged commit f44e490 into master Dec 16, 2024
37 checks passed
@ShireenMissi ShireenMissi deleted the node-177-redis-tests-continue-on-fail branch December 16, 2024 17:39
@janober
Copy link
Member

janober commented Dec 19, 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
n8n team Authored by the n8n team node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants