-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9380 from ohcnetwork/develop
Merge Develop to Staging v24.51.0
- Loading branch information
Showing
106 changed files
with
6,973 additions
and
3,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,21 +43,21 @@ describe("Asset", () => { | |
|
||
const qr_id_1 = uuidv4(); | ||
|
||
assetPage.enterAssetDetails( | ||
"New Test Asset 1", | ||
"Test Description", | ||
"Working", | ||
qr_id_1, | ||
"Manufacturer's Name", | ||
"2025-12-25", | ||
"Customer Support's Name", | ||
phone_number, | ||
"[email protected]", | ||
"Vendor's Name", | ||
serialNumber, | ||
"25122021", | ||
"Test note for asset creation!", | ||
); | ||
assetPage.enterAssetDetails({ | ||
name: "New Test Asset 1", | ||
description: "Test Description", | ||
workingStatus: "Working", | ||
qrId: qr_id_1, | ||
manufacturer: "Manufacturer's Name", | ||
warranty: "2025-12-25", | ||
supportName: "Customer Support's Name", | ||
supportPhone: phone_number, | ||
supportEmail: "[email protected]", | ||
vendorName: "Vendor's Name", | ||
serialNumber: serialNumber, | ||
lastServicedOn: "25122021", | ||
notes: "Test note for asset creation!", | ||
}); | ||
|
||
assetPage.clickCreateAddMore(); | ||
assetPage.verifySuccessNotification("Asset created successfully"); | ||
|
@@ -66,21 +66,21 @@ describe("Asset", () => { | |
|
||
assetPage.selectLocation("Camera Loc"); | ||
assetPage.selectAssetClass("ONVIF Camera"); | ||
assetPage.enterAssetDetails( | ||
"New Test Asset 2", | ||
"Test Description", | ||
"Working", | ||
qr_id_2, | ||
"Manufacturer's Name", | ||
"2025-12-25", | ||
"Customer Support's Name", | ||
phone_number, | ||
"[email protected]", | ||
"Vendor's Name", | ||
serialNumber, | ||
"25122021", | ||
"Test note for asset creation!", | ||
); | ||
assetPage.enterAssetDetails({ | ||
name: "New Test Asset 2", | ||
description: "Test Description", | ||
workingStatus: "Working", | ||
qrId: qr_id_2, | ||
manufacturer: "Manufacturer's Name", | ||
warranty: "2025-12-25", | ||
supportName: "Customer Support's Name", | ||
supportPhone: phone_number, | ||
supportEmail: "[email protected]", | ||
vendorName: "Vendor's Name", | ||
serialNumber: serialNumber, | ||
lastServicedOn: "25122021", | ||
notes: "Test note for asset creation!", | ||
}); | ||
|
||
assetPage.interceptAssetCreation(); | ||
assetPage.clickCreateAsset(); | ||
|
@@ -139,21 +139,22 @@ describe("Asset", () => { | |
|
||
const qr_id_1 = uuidv4(); | ||
|
||
assetPage.enterAssetDetails( | ||
"New Test Asset Vital", | ||
"Test Description", | ||
"Working", | ||
qr_id_1, | ||
"Manufacturer's Name", | ||
"2025-12-25", | ||
"Customer Support's Name", | ||
phone_number, | ||
"[email protected]", | ||
"Vendor's Name", | ||
serialNumber, | ||
"25122021", | ||
"Test note for asset creation!", | ||
); | ||
assetPage.enterAssetDetails({ | ||
name: "New Test Asset Vital", | ||
description: "Test Description", | ||
workingStatus: "Working", | ||
qrId: qr_id_1, | ||
manufacturer: "Manufacturer's Name", | ||
warranty: "2025-12-25", | ||
supportName: "Customer Support's Name", | ||
supportPhone: phone_number, | ||
supportEmail: "[email protected]", | ||
vendorName: "Vendor's Name", | ||
serialNumber: serialNumber, | ||
lastServicedOn: "25122021", | ||
notes: "Test note for asset creation!", | ||
}); | ||
|
||
assetPage.interceptAssetCreation(); | ||
assetPage.clickCreateAsset(); | ||
assetPage.verifyAssetCreation(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.