File tree Expand file tree Collapse file tree
x-pack/plugins/apm/e2e/cypress/support/step_definitions/rum Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ Then(`should display chart legend`, () => {
6161 cy . get ( 'kbnLoadingIndicator' ) . should ( 'not.be.visible' ) ;
6262 cy . get ( '.euiLoadingChart' ) . should ( 'not.be.visible' ) ;
6363
64- cy . get ( chartLegend ) . eq ( 0 ) . invoke ( 'text' ) . snapshot ( ) ;
64+ cy . get ( chartLegend , { timeout : DEFAULT_TIMEOUT } )
65+ . eq ( 0 )
66+ . invoke ( 'text' )
67+ . snapshot ( ) ;
6568} ) ;
6669
6770Then ( `should display tooltip on hover` , ( ) => {
@@ -73,7 +76,7 @@ Then(`should display tooltip on hover`, () => {
7376 cy . get ( 'kbnLoadingIndicator' ) . should ( 'not.be.visible' ) ;
7477 cy . get ( '.euiLoadingChart' ) . should ( 'not.be.visible' ) ;
7578
76- const marker = cy . get ( pMarkers ) . eq ( 0 ) ;
79+ const marker = cy . get ( pMarkers , { timeout : DEFAULT_TIMEOUT } ) . eq ( 0 ) ;
7780 marker . invoke ( 'show' ) ;
7881 marker . trigger ( 'mouseover' , { force : true } ) ;
7982 cy . get ( 'span[data-cy=percentileTooltipTitle]' ) . should ( 'be.visible' ) ;
You can’t perform that action at this time.
0 commit comments