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: [M3-7496] - Add test for Proxy user -> Parent account token expiration prompt #10341

Conversation

jdamore-linode
Copy link
Contributor

Description 📝

Adds a test to confirm the flow when a proxy user attempts to switch back to their parent account when their parent account auth token has expired.

Changes 🔄

  • Adds Proxy -> Parent expiration flow test
  • Adds missing imports to factories index (and alphabetizes the imports)
  • Cleans up Cypress auth by removing invalid local storage entries

How to test 🧪

yarn cy:run -s "cypress/e2e/core/parentChild/token-expiration.spec.ts

(Also recommend using cy:debug so you can observe the flow in action, in case there are any mistakes)

Copy link

github-actions bot commented Apr 2, 2024

Coverage Report:
Base Coverage: 81.72%
Current Coverage: 81.72%

Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

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

Thanks, Joe!

image

Copy link
Contributor

@jaalah jaalah 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 capturing this use-case in our test, albeit hopefully it's never an issue!

@jaalah-akamai jaalah-akamai added the Approved Multiple approvals and ready to merge! label Apr 2, 2024
@jdamore-linode jdamore-linode merged commit c76351e into linode:develop Apr 3, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Parent / Child Account
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants