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

Added test to verify page redirection from facility details page to asset page #6308

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

nihal467
Copy link
Member

@nihal467 nihal467 commented Sep 19, 2023

WHAT

🤖 Generated by Copilot at 89d91ec

Added a new test case and methods for facility asset management. The test case verifies the navigation and filtering of assets in a facility. The methods help create and view asset facilities in the UI. Also added id attributes to some UI elements for testing.

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖 Generated by Copilot at 89d91ec

  • Add methods to click on create asset and view asset options in the facility page (link)
  • Add methods to verify the text, URL and status code for the facility and asset pages, and the back navigation functionality (link)
  • Add id attributes to the MenuItem components for the create asset, view asset and view users options in the FacilityHome component (link, link, link)
  • Add imports of AssetSearchPage, FacilityPage, AssetFilters and fillFacilityName to the test file assets_manage.cy.ts (link)
  • Add a test case to verify the facility asset page redirection using the manage facility dropdown options and the asset view page filter (link)

@nihal467 nihal467 requested a review from a team September 19, 2023 21:05
@nihal467 nihal467 requested a review from a team as a code owner September 19, 2023 21:05
@vercel
Copy link

vercel bot commented Sep 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview Sep 19, 2023 9:05pm

@netlify
Copy link

netlify bot commented Sep 19, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 89d91ec
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/650a0d26947f650008fd526a
😎 Deploy Preview https://deploy-preview-6308--care-egov-staging.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.

@cypress
Copy link

cypress bot commented Sep 19, 2023

Passing run #1278 ↗︎

0 75 0 0 Flakiness 0

Details:

Added test to verify page redirection from facility details page to asset page
Project: CARE Commit: 89d91ec092
Status: Passed Duration: 02:32 💡
Started: Sep 19, 2023 9:09 PM Ended: Sep 19, 2023 9:12 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@khavinshankar khavinshankar merged commit 8946529 into develop Sep 19, 2023
34 checks passed
@github-actions
Copy link

@nihal467 We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

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.

Create a new test to verify the asset page redirection from the facility detail page
2 participants