-
Notifications
You must be signed in to change notification settings - Fork 4k
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(web): Fix annual subscription tests #5423
Conversation
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -3,7 +3,7 @@ import { ApiServiceLevelEnum } from '@novu/shared'; | |||
import { UserSession } from '@novu/testing'; | |||
import { expect } from 'chai'; | |||
|
|||
describe.only('Product feature Test', async () => { | |||
describe('Product feature Test', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accidentally leftover from testing.
@@ -13,7 +22,7 @@ describe('Billing - Annual subscription', function () { | |||
|
|||
cy.visit('/settings/billing'); | |||
|
|||
cy.getByTestId('upgrade-button').click(); | |||
cy.getByTestId('plan-business-upgrade').click(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was changed as part of the annual sub changes and wasn't updated.
hasPaymentMethod: false, | ||
status: 'active', | ||
}, | ||
}).as('getSubscription'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Require to fix the hanging tests.
✅ Deploy Preview for novu-design ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
What changed? Why was the change needed?
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer