Skip to content

Commit f30066e

Browse files
committed
fix: tree spec test
1 parent 2c9053f commit f30066e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/integration/tree_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ context('Fusion Studio', function() {
120120
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell .dialogBlock .dialogTitle').should('contain.text', 'Edit User: ' + userName);
121121
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell .dialogBlock .dialogContent .pb-body').should('be.visible').find('span + input.theia-input[type=text]').should('have.value', userName);
122122
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell .dialogBlock .dialogControl .theia-button.secondary').should('be.visible').click();
123-
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell').should('not.be.visible');
123+
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell').should('not.exist');
124124
});
125125
})
126126
it('open group information', function() {
@@ -134,7 +134,7 @@ context('Fusion Studio', function() {
134134
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell .dialogBlock .dialogTitle').should('contain.text', 'Edit Group: ' + groupName);
135135
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell .dialogBlock .dialogContent .pb-body').should('be.visible').find('span + input.theia-input[type=text]').should('have.value', groupName);
136136
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell .dialogBlock .dialogControl .theia-button.secondary').should('be.visible').click();
137-
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell').should('not.be.visible');
137+
cy.get('.p-Widget.dialogOverlay#theia-dialog-shell').should('not.exist');
138138
});
139139
})
140140
})

0 commit comments

Comments
 (0)