-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: PartialExport_Widgets_spec - updated test validation logic (#33371
) Spec - cypress/e2e/Regression/ClientSide/PartialImportExport/PartialExport_Widgets_spec.ts RCA: Comparison of this file post export is failing this file needed change. closeModal('Insert_Modal')) is changed to closeModal(Insert_Modal.name)) and showModal('Delete_Modal')) to showModal(Delete_Modal.name)) Solution: To overcome this issue of frequent updation of file we have come up with a solution to validate the partial import post export in a different way. 1. We are creating a separate page and importing the partially exported file 2. We are doing widget validation based on the selection we did during our export 3. We are checking the properties of the widgets in the process in the new page --------- Co-authored-by: Trisha Anand <[email protected]>
- Loading branch information
1 parent
e353bdc
commit 8682dd2
Showing
6 changed files
with
151 additions
and
19 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
2 changes: 1 addition & 1 deletion
2
app/client/cypress/fixtures/PartialImportExport/WidgetsExportedOnly.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
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