Skip to content

Commit

Permalink
Merge branch 'develop' into Verify-asset-page-redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 authored Sep 26, 2023
2 parents 7f55921 + 2973d6e commit d63f56a
Show file tree
Hide file tree
Showing 61 changed files with 1,472 additions and 996 deletions.
17 changes: 17 additions & 0 deletions cypress/e2e/assets_spec/assets_manage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,23 @@ describe("Asset", () => {
assetPage.verifyDeleteStatus();
});

it("Verify Facility Asset Page Redirection", () => {
cy.visit("/facility");
assetSearchPage.typeSearchKeyword(fillFacilityName);
assetSearchPage.pressEnter();
facilityPage.verifyFacilityBadgeContent(fillFacilityName);
facilityPage.visitAlreadyCreatedFacility();
facilityPage.clickManageFacilityDropdown();
facilityPage.clickCreateAssetFacilityOption();
facilityPage.verifyfacilitycreateassetredirection();
facilityPage.verifyassetfacilitybackredirection();
facilityPage.clickManageFacilityDropdown();
facilityPage.clickviewAssetFacilityOption();
facilityPage.verifyfacilityviewassetredirection();
assetFilters.assertFacilityText(fillFacilityName);
facilityPage.verifyassetfacilitybackredirection();
});

afterEach(() => {
cy.saveLocalStorage();
});
Expand Down
143 changes: 1 addition & 142 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"events": "^3.3.0",
"i18next": "^23.2.7",
"i18next-browser-languagedetector": "^7.1.0",
"libphonenumber-js": "^1.10.37",
"lodash": "^4.17.21",
"postcss-loader": "^7.3.3",
"qrcode.react": "^3.1.0",
Expand All @@ -90,7 +89,6 @@
"react-player": "^2.12.0",
"react-qr-reader": "^2.2.1",
"react-redux": "^8.1.1",
"react-swipeable-views": "^0.14.0",
"react-transition-group": "^4.4.5",
"react-webcam": "^7.1.1",
"read-excel-file": "^5.6.1",
Expand Down Expand Up @@ -126,7 +124,6 @@
"@types/react-dom": "^18.2.6",
"@types/react-google-recaptcha": "^2.1.5",
"@types/react-qr-reader": "^2.1.4",
"@types/react-swipeable-views": "^0.13.2",
"@types/react-transition-group": "^4.4.6",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
Expand Down
Loading

0 comments on commit d63f56a

Please sign in to comment.