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
68
68
await t . click ( browserPage . treeViewDeviceFolder . nth ( 5 ) ) ;
69
69
await browserPage . deleteKey ( ) ;
70
70
// 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 ) ;
71
73
await t . expect ( browserPage . treeViewDeviceFolder . nth ( 2 ) . textContent ) . notEql ( keyFolder , 'The key folder is not removed from the tree view' ) ;
72
74
await t . expect ( browserPage . treeViewDeviceKyesCount . textContent ) . notEql ( numberOfKeys , 'The number of keys is not recalculated' ) ;
73
75
} ) ;
You can’t perform that action at this time.
0 commit comments