@@ -30,7 +30,7 @@ describe('WorkflowService subscriptions', () => {
3030 expect ( Object . keys ( subscriptions ) . length ) . to . equal ( 1 )
3131 } )
3232 } )
33- it ( '-> Dashboard -> User Profile, should contain 1 subscription (GScan)' , ( ) => {
33+ it ( '-> Dashboard -> User Profile, should contain 1 subscription ("root" = GScan)' , ( ) => {
3434 cy . visit ( '/#/' )
3535 cy . get ( '[href="#/user-profile"]' ) . click ( { force : true } )
3636 cy . contains ( 'h3' , 'Your Profile' )
@@ -39,7 +39,7 @@ describe('WorkflowService subscriptions', () => {
3939 expect ( Object . keys ( subscriptions ) . length ) . to . equal ( 1 )
4040 } )
4141 } )
42- it ( '-> Dashboard -> Workflows, should contain 2 subscriptions (GScan + Tree)' , ( ) => {
42+ it ( '-> Dashboard -> Workflows, should contain 2 subscriptions ("root" = GScan + Dashboard, and "workflow" = Tree)' , ( ) => {
4343 cy . visit ( '/#/' )
4444 cy . get ( '[href="#/workflows/one"]' ) . click ( { force : true } )
4545 // <div id='main'> is used by Lumino, and its initial tab contains the text tree
@@ -51,9 +51,9 @@ describe('WorkflowService subscriptions', () => {
5151 expect ( subscriptions . workflow . observable . closed ) . to . equal ( false )
5252 } )
5353 } )
54- it ( '-> Dashboard -> Workflows -> Dashboard, should contain 2 subscriptions (GScan + Dashboard)' , ( ) => {
54+ it ( '-> Dashboard -> Workflows -> Dashboard, should contain 1 subscriptions ("root" = GScan + Dashboard)' , ( ) => {
5555 cy . visit ( '/#/' )
56- cy . get ( '[href="#/workflows/one"]' ) . click ( )
56+ cy . get ( '[href="#/workflows/one"]' ) . click ( { force : true } )
5757 // <div id='main'> is used by Lumino, and its initial tab contains the text tree
5858 cy . get ( 'div#main' ) . find ( '.c-tree' )
5959 cy . get ( '[href="#/"]' ) . click ( { force : true } )
0 commit comments