@@ -713,6 +713,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
713713 it ( 'closed when nested logs that pass' , ( ) => {
714714 const nestedGroupId = addCommand ( runner , {
715715 name : 'session' ,
716+ defaultCollapsedState : 'closed' ,
716717 state : 'passed' ,
717718 type : 'child' ,
718719 } )
@@ -727,6 +728,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
727728
728729 const nestedSessionGroupId = addCommand ( runner , {
729730 name : 'session' ,
731+ defaultCollapsedState : 'closed' ,
730732 displayName : 'validate' ,
731733 type : 'child' ,
732734 groupLevel : 2 ,
@@ -769,6 +771,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
769771 it ( 'closed when nested logs has failures but last log is successful' , ( ) => {
770772 const nestedGroupId = addCommand ( runner , {
771773 name : 'session' ,
774+ defaultCollapsedState : 'closed' ,
772775 state : 'passed' ,
773776 type : 'child' ,
774777 } )
@@ -783,6 +786,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
783786
784787 const nestedSessionGroupId = addCommand ( runner , {
785788 name : 'session' ,
789+ defaultCollapsedState : 'closed' ,
786790 displayName : 'validate' ,
787791 type : 'child' ,
788792 state : 'failed' ,
@@ -829,6 +833,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
829833 it ( 'open when last log has failed' , ( ) => {
830834 const nestedGroupId = addCommand ( runner , {
831835 name : 'session' ,
836+ defaultCollapsedState : 'closed' ,
832837 state : 'passed' ,
833838 type : 'child' ,
834839 } )
@@ -843,6 +848,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
843848
844849 const nestedSessionGroupId = addCommand ( runner , {
845850 name : 'session' ,
851+ defaultCollapsedState : 'closed' ,
846852 displayName : 'validate' ,
847853 state : 'failed' ,
848854 type : 'system' ,
@@ -997,6 +1003,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
9971003 cy . fixture ( 'command_error' ) . then ( ( _commandErr ) => {
9981004 const groupId = addCommand ( runner , {
9991005 name : 'session' ,
1006+ defaultCollapsedState : 'closed' ,
10001007 message : 'mock restore' ,
10011008 state : 'passed' ,
10021009 type : 'system' ,
@@ -1031,6 +1038,7 @@ describe('commands', { viewportHeight: 1000 }, () => {
10311038 cy . fixture ( 'command_error' ) . then ( ( _commandErr ) => {
10321039 const groupId = addCommand ( runner , {
10331040 name : 'session' ,
1041+ defaultCollapsedState : 'closed' ,
10341042 message : 'mock restore' ,
10351043 state : 'passed' ,
10361044 type : 'system' ,
0 commit comments