@@ -58,7 +58,7 @@ Cypress.Commands.add('selectAccordionItem', (accordionPath) => {
5858 const expandAndClickPath = ( accordionPathIndex , searchStartIndex ) => {
5959 /* TODO: Remove logger once the command is confirmed to be stable */
6060 Cypress . log ( {
61- name : 'selectAccordionItem' ,
61+ name : '🟢 selectAccordionItem' ,
6262 message : `Found ${ listItems . length } list items, searching from index ${ searchStartIndex } ` ,
6363 } ) ;
6464
@@ -68,7 +68,7 @@ Cypress.Commands.add('selectAccordionItem', (accordionPath) => {
6868 for ( let i = searchStartIndex ; i < listItems . length ; i ++ ) {
6969 /* TODO: Remove logger once the command is confirmed to be stable */
7070 Cypress . log ( {
71- name : 'selectAccordionItem' ,
71+ name : '🟢 selectAccordionItem' ,
7272 message : `Loop index: ${ i } & Searching for label: ${ accordionLabel } ` ,
7373 } ) ;
7474
@@ -85,7 +85,7 @@ Cypress.Commands.add('selectAccordionItem', (accordionPath) => {
8585 if ( isMatch ) {
8686 /* TODO: Remove logger once the command is confirmed to be stable */
8787 Cypress . log ( {
88- name : 'selectAccordionItem' ,
88+ name : '🟢 selectAccordionItem' ,
8989 message : `Matched "${ liText } " at index ${ i } ` ,
9090 } ) ;
9191
@@ -113,7 +113,7 @@ Cypress.Commands.add('selectAccordionItem', (accordionPath) => {
113113 // Expand the node
114114 /* TODO: Remove logger once the command is confirmed to be stable */
115115 Cypress . log ( {
116- name : 'selectAccordionItem' ,
116+ name : '🟢 selectAccordionItem' ,
117117 message : `Expanding node "${ liText } "` ,
118118 } ) ;
119119 cy . interceptApi ( {
@@ -132,7 +132,7 @@ Cypress.Commands.add('selectAccordionItem', (accordionPath) => {
132132 ] ;
133133 /* TODO: Remove logger once the command is confirmed to be stable */
134134 Cypress . log ( {
135- name : 'selectAccordionItem' ,
135+ name : '🟢 selectAccordionItem' ,
136136 message : `Re-queried accordion - new list items count: ${ updatedListItems . length } ` ,
137137 } ) ;
138138 // Update list items
0 commit comments