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

fix: tests #5436

Merged
merged 19 commits into from
Apr 22, 2024
Merged

fix: tests #5436

merged 19 commits into from
Apr 22, 2024

Conversation

BiswaViraj
Copy link
Member

What changed? Why was the change needed?

Screenshots

  • fixes cypress tests
Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

netlify bot commented Apr 19, 2024

Deploy Preview for novu-design ready!

Name Link
🔨 Latest commit 385e7be
🔍 Latest deploy log https://app.netlify.com/sites/novu-design/deploys/6625f4664e415d000844f758
😎 Deploy Preview https://deploy-preview-5436--novu-design.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -62,6 +72,7 @@ export const StepEditorSidebar = ({ children }: { children: ReactNode }) => {
navigate(basePath);
}}
data-test-id="step-editor-sidebar"
onSubmit={handleSubmit(onSubmitHandler, onInvalid)}
Copy link
Member Author

Choose a reason for hiding this comment

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

Due to this, it was not submitting the form on the editor and hence the tests were failing on update workflow

Copy link
Contributor

@antonjoel82 antonjoel82 left a comment

Choose a reason for hiding this comment

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

Thanks for the good work on this and my apologies for the double-work! Please address the chores before merging, but otherwise we should be good!

apps/web/cypress/tests/settings/user-profile.spec.ts Outdated Show resolved Hide resolved
@@ -1,5 +1,6 @@
describe('Organization Page', function () {
beforeEach(function () {
cy.mockFeatureFlags({ IS_INFORMATION_ARCHITECTURE_ENABLED: true });
Copy link
Contributor

Choose a reason for hiding this comment

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

👏 praise: Good catch!‏

apps/web/cypress/tests/layout/main-nav.spec.ts Outdated Show resolved Hide resolved
@BiswaViraj BiswaViraj merged commit d3c9e17 into information-architecture Apr 22, 2024
24 of 25 checks passed
@BiswaViraj BiswaViraj deleted the fix-web-tests branch April 22, 2024 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants