File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
tests/e2e/tests/regression/tree-view Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ test('Verify that when user deletes the key he can see the key is removed from t
6868 await t . click ( browserPage . treeViewDeviceFolder . nth ( 5 ) ) ;
6969 await browserPage . deleteKey ( ) ;
7070 // Verify the results
71+ await t . expect ( browserPage . treeViewDeviceFolder . nth ( 2 ) . exists ) . notOk ( 'The previous folder is not closed after removing key folder' ) ;
72+ await t . click ( browserPage . treeViewDeviceFolder ) ;
7173 await t . expect ( browserPage . treeViewDeviceFolder . nth ( 2 ) . textContent ) . notEql ( keyFolder , 'The key folder is not removed from the tree view' ) ;
7274 await t . expect ( browserPage . treeViewDeviceKyesCount . textContent ) . notEql ( numberOfKeys , 'The number of keys is not recalculated' ) ;
7375} ) ;
You can’t perform that action at this time.
0 commit comments