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

Modified Asset Export test to handle random failure #6302

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 9281652

This change adds a test case for importing assets from a CSV file in the asset_homepage.cy.ts file. It uses the selectassetimportbutton method from the assetPage object to access the import feature.

Proposed Changes

  • Fixes #issue?
  • Change 1
  • Change 2
  • More?

@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 9281652

  • Add a test case to check the import assets functionality in the asset homepage (link). The test case uses the assetPage object to access the selectassetimportbutton method, which clicks on the import button and uploads a CSV file with asset data. The test case then verifies that the imported assets are displayed in the asset table and that the total number of assets is updated accordingly. The test case is located in the file asset_homepage.cy.ts, which contains other test cases for the asset management module.

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

vercel bot commented Sep 19, 2023

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

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2023 8:18am

@netlify
Copy link

netlify bot commented Sep 19, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 9281652
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/6509595116027800083bb14b
😎 Deploy Preview https://deploy-preview-6302--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 #1270 ↗︎

0 74 0 0 Flakiness 0

Details:

Modified Asset Export test to handle random failure
Project: CARE Commit: 9281652545
Status: Passed Duration: 02:36 💡
Started: Sep 19, 2023 8:22 AM Ended: Sep 19, 2023 8:25 AM

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

@khavinshankar khavinshankar merged commit 856a7e9 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants