-
Notifications
You must be signed in to change notification settings - Fork 347
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
Add Cypress test to Assets Export Functionality #6291
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. |
Passing run #1263 ↗︎Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@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 🙌. |
WHAT
🤖 Generated by Copilot at ca73772
This pull request improves the asset management feature and its test coverage. It adds location-based filtering, importing, and exporting of assets, and fixes some bugs and inconsistencies in the UI and the test code. It also refactors and enhances the cypress test cases and page objects for the asset feature, and adds id attributes to some UI elements to make them easier to select in the tests. The changes affect the files
cypress/e2e/assets_spec/*.cy.ts
,cypress/pageobject/Asset/*.ts
,src/Components/Assets/*.tsx
, andsrc/CAREUI/interactive/SlideOver.tsx
.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at ca73772
AssetPage
class methods to perform actions and assertions on asset creation, editing, importing, and exporting (link, link, link)AssetFilters
class methods to apply and clear filters by location and other criteria (link, link, link)AssetSearchPage
class methods to search and select assets by name (link)uuidv4
function to generate unique identifiers for assets (link)assets_manage.cy.ts
toassets_creation.cy.ts
andasset_homepage.cy.ts
(link, link)SlideOver.tsx
(link)AssetFilter.tsx
(link)AssetManage.tsx
(link)AssetsList.tsx
(link, link)AssetCreation.ts
andAssetSearch.ts
files (link, link, link)AssetPage
class fromAssetCreation.ts
file inasset_homepage.cy.ts
andassets_creation.cy.ts
files (link, link)AssetSearchPage
anduuidv4
fromassets_manage.cy.ts
file (link)selectImportOption
toselectassetimportbutton
inAssetPage
class (link)typeSearchKeyword
method ofAssetSearchPage
class (link)