@@ -9,27 +9,27 @@ describe('hotrod e2e spec', () => {
99
1010 cy . get ( '.css-8g8ihq :nth-child(2) > :nth-child(2)' ) . should ( 'have.text' , 'frontend' ) ;
1111 if ( Cypress . env ( 'SANDBOXED_FRONTEND' ) != "1" ) {
12- cy . get ( ':nth-child(2) > :nth-child(3)' ) . should ( 'have .text' , '(baseline)' ) ;
12+ cy . get ( ':nth-child(2) > :nth-child(3)' ) . should ( 'contain .text' , '(baseline)' ) ;
1313 } else {
14- cy . get ( ':nth-child(2) > :nth-child(3)' ) . should ( 'have .text' , '(' + sandboxName + ')' ) ;
14+ cy . get ( ':nth-child(2) > :nth-child(3)' ) . should ( 'contain .text' , '(' + sandboxName + ')' ) ;
1515 }
1616 cy . get ( '.css-8g8ihq :nth-child(3) > :nth-child(2)' ) . should ( 'have.text' , 'location' ) ;
1717 if ( Cypress . env ( 'SANDBOXED_LOCATION' ) != "1" ) {
18- cy . get ( ':nth-child(3) > :nth-child(3)' ) . should ( 'have .text' , '(baseline)' ) ;
18+ cy . get ( ':nth-child(3) > :nth-child(3)' ) . should ( 'contain .text' , '(baseline)' ) ;
1919 } else {
20- cy . get ( ':nth-child(3) > :nth-child(3)' ) . should ( 'have .text' , '(' + sandboxName + ')' ) ;
20+ cy . get ( ':nth-child(3) > :nth-child(3)' ) . should ( 'contain .text' , '(' + sandboxName + ')' ) ;
2121 }
2222 cy . get ( ':nth-child(5) > :nth-child(2)' ) . should ( 'have.text' , 'route' ) ;
2323 if ( Cypress . env ( 'SANDBOXED_ROUTE' ) != "1" ) {
24- cy . get ( ':nth-child(5) > :nth-child(3)' ) . should ( 'have .text' , '(baseline)' ) ;
24+ cy . get ( ':nth-child(5) > :nth-child(3)' ) . should ( 'contain .text' , '(baseline)' ) ;
2525 } else {
26- cy . get ( ':nth-child(5) > :nth-child(3)' ) . should ( 'have .text' , '(' + sandboxName + ')' ) ;
26+ cy . get ( ':nth-child(5) > :nth-child(3)' ) . should ( 'contain .text' , '(' + sandboxName + ')' ) ;
2727 }
2828 cy . get ( ':nth-child(6) > :nth-child(2)' ) . should ( 'have.text' , 'driver' ) ;
2929 if ( Cypress . env ( 'SANDBOXED_DRIVER' ) != "1" ) {
30- cy . get ( ':nth-child(6) > :nth-child(3)' ) . should ( 'have .text' , '(baseline)' ) ;
30+ cy . get ( ':nth-child(6) > :nth-child(3)' ) . should ( 'contain .text' , '(baseline)' ) ;
3131 } else {
32- cy . get ( ':nth-child(6) > :nth-child(3)' ) . should ( 'have .text' , '(' + sandboxName + ')' ) ;
32+ cy . get ( ':nth-child(6) > :nth-child(3)' ) . should ( 'contain .text' , '(' + sandboxName + ')' ) ;
3333 }
3434 } ) ;
3535} )
0 commit comments