-
Notifications
You must be signed in to change notification settings - Fork 367
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: [M3-7498] - Add Cypress tests for Parent/Child billing page UX enhancements #10070
Conversation
* | ||
* @param tooltipText - Expected tooltip message to be shown to the user. | ||
*/ | ||
const assertAddPaymentMethodDisabled = (tooltipText: string) => { |
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.
@jaalah-akamai quick question occurred to me while writing these tests: should the payment method action menus (or their items) be disabled for restricted and child users?
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.
Yes! Edit: Well let me triple check this.
Edit edit: 100% yes!
Just a note that I may add a temporary |
Coverage Report: ✅ |
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.
Approved pending E2E for disabled action menu items 👍
…d when applicable
Description 📝
Adds Cypress tests to cover the UX enhancements made to the account Billing page for restricted and child users. Additionally updates Vitest and enables a Parent/Child unit test that was disabled due to an issue in older Vitest versions.
Changes 🔄
v1.0.4
tov1.2.0
ContactInformation.test.tsx
How to test 🧪
We should be able to rely on automated tests for this PR. Refer to the instructions below if you'd like to run the tests locally, however:
Prerequisites
Build and serve a Cloud Manager production build
Verification steps
Verify unit test change:
yarn test ContactInformation.test
Verify Cypress test additions:
yarn cy:run -s "cypress/e2e/core/billing/restricted-user-billing.spec.ts"
As an Author I have considered 🤔
Check all that apply