This repository was archived by the owner on Feb 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -162,17 +162,15 @@ describe('Home Page', function () {
162162 } ) ;
163163
164164 it ( 'The "Our Process" Carousel automatically rotates through all 5 slides and then started over' , function ( ) {
165- cy . get ( 'app-carousel-indicators' ) . within ( ( ) => {
166- cy . get ( '.carousel-main-indicators > .carousel-indicators > [data-slide-to="0"]' ) . click ( ) ;
167- cy . get ( '[data-cy=capp-head]' ) . contains ( 'Discovery' ) ;
168- // Wait for carousel list el to change on the page
169- cy . wait ( 2000 ) ;
170- cy . wait ( 2000 ) ;
171- cy . wait ( 2000 ) ;
172- cy . wait ( 2000 ) ;
173- cy . wait ( 2000 ) ;
174- cy . get ( '[data-cy=capp-head]' ) . contains ( 'Discovery' ) ;
175- } ) ;
165+ cy . get ( '.carousel-main-indicators > .carousel-indicators > [data-slide-to="0"]' ) . click ( ) ;
166+ cy . get ( '[data-cy=capp-head] > .hydrated' ) . contains ( 'Discovery' ) ;
167+ // Wait for carousel list el to change on the page
168+ cy . wait ( 5000 ) ;
169+ cy . wait ( 5000 ) ;
170+ cy . wait ( 5000 ) ;
171+ cy . wait ( 5000 ) ;
172+ cy . wait ( 5000 ) ;
173+ cy . get ( '[data-cy=capp-head] > .hydrated' ) . contains ( 'Discovery' ) ;
176174 } ) ;
177175
178176 it ( 'The carousel displays the correct image and content on all five slides' , function ( ) {
You can’t perform that action at this time.
0 commit comments