-
Notifications
You must be signed in to change notification settings - Fork 490
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
Added cypress test to verify warranty expiry label on an asset #6428
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@nihal467 I've updated the spec such that it also checks if the warranty expiry label goes off once the asset warranty is updated and set to greater than 3 months. |
Unfortunately, we wouldn't be able to check the expiry label since we can't set the warranty expiry to a past date. |
* added cypress test to verify warranty expiry label * updated spec to check if the warranty expiry label goes off once updated * verify the last change --------- Co-authored-by: Mohammed Nihal <[email protected]>
* added cypress test to verify warranty expiry label * updated spec to check if the warranty expiry label goes off once updated * verify the last change --------- Co-authored-by: Mohammed Nihal <[email protected]>
* added cypress test to verify warranty expiry label * updated spec to check if the warranty expiry label goes off once updated * verify the last change --------- Co-authored-by: Mohammed Nihal <[email protected]>
WHAT
🤖 Generated by Copilot at c6b8259
Added a new test case and helper methods to verify the asset service history alert feature based on the warranty expiry date. Modified the
Chip
andAssetsList
components to add ids for testing. Added type annotations to some methods in theAssetPage
class.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at c6b8259