Skip to content

Commit a646aa2

Browse files
committed
Remove incorrect and unneeded assertions
We copy the dialog with the same description but different name. We then select one of the two (copy or original) in the tree. Either the copy or original is now displayed, the assertion on the name could be wrong since we're asserting the name is the "copy" name. We're in the cleanup code. We don't really care about these assertions. We now select either of the two "Test Description" dialogs, remove the first, verify the main div is correct, select the second and remove it. There is no need to check the Name field or the CodeMirror-code to confirm the removal was correct.
1 parent a605272 commit a646aa2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cypress/e2e/ui/Automation/Embedded-Automate/customization.cy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ describe('Automation > Embedded Automate > Customization', () => {
155155

156156
cy.get('[id="explorer_title_text"]').contains('Configured System Provision Dialogs');
157157
cy.get('[class="list-group"]').contains('Test Description').should('be.visible').click({force: true});
158-
cy.get('[id="main_div"]').contains('Copy of Test User');
159158
cy.get('[id="main_div"]').contains('Test Description');
160-
cy.get('[class="CodeMirror-code"]').contains('---');
161159
cy.get('[title="Configuration"]').click({force: true});
162160
cy.get('[title="Remove this Dialog"]').click({force: true});
163161

0 commit comments

Comments
 (0)