@@ -431,20 +431,7 @@ module.exports = () => {
431431 it ( 'should successfully apply detectors filter' , async ( ) => {
432432 await navigateToRunsPerDataPass ( page , 2 , 2 , 3 ) ;
433433
434- try {
435- await pressElement ( page , '#openFilterToggle' ) ;
436- } catch ( error ) {
437- console . log ( 'Testing if the failure is a timing issue' ) ;
438- console . log ( 'Testing if the failure is a timing issue' ) ;
439- console . log ( 'Testing if the failure is a timing issue' ) ;
440- console . log ( 'Testing if the failure is a timing issue' ) ;
441- console . log ( 'Testing if the failure is a timing issue' ) ;
442- console . log ( 'Testing if the failure is a timing issue' ) ;
443- console . log ( 'Testing if the failure is a timing issue' ) ;
444-
445- await new Promise ( ( res , _rej ) => setTimeout ( ( ) => res ( ) , 10000 ) )
446- await pressElement ( page , '#openFilterToggle' ) ;
447- }
434+ await pressElement ( page , '#openFilterToggle' ) ;
448435
449436 await pressElement ( page , '.detectors-filter .dropdown-trigger' ) ;
450437 await pressElement ( page , '#detector-filter-dropdown-option-CPV' , true ) ;
@@ -456,20 +443,7 @@ module.exports = () => {
456443
457444 it ( 'should successfully apply tags filter' , async ( ) => {
458445 await navigateToRunsPerDataPass ( page , 2 , 1 , 3 ) ;
459- try {
460- await pressElement ( page , '#openFilterToggle' ) ;
461- } catch ( error ) {
462- console . log ( 'Testing if the failure is a timing issue' ) ;
463- console . log ( 'Testing if the failure is a timing issue' ) ;
464- console . log ( 'Testing if the failure is a timing issue' ) ;
465- console . log ( 'Testing if the failure is a timing issue' ) ;
466- console . log ( 'Testing if the failure is a timing issue' ) ;
467- console . log ( 'Testing if the failure is a timing issue' ) ;
468- console . log ( 'Testing if the failure is a timing issue' ) ;
469-
470- await new Promise ( ( res , _rej ) => setTimeout ( ( ) => res ( ) , 10000 ) )
471- await pressElement ( page , '#openFilterToggle' ) ;
472- }
446+ await pressElement ( page , '#openFilterToggle' ) ;
473447
474448 await pressElement ( page , '.tags-filter .dropdown-trigger' ) ;
475449
@@ -484,21 +458,7 @@ module.exports = () => {
484458
485459 it ( 'should successfully apply duration filter' , async ( ) => {
486460 await navigateToRunsPerDataPass ( page , 2 , 2 , 3 ) ;
487-
488- try {
489- await pressElement ( page , '#openFilterToggle' ) ;
490- } catch ( error ) {
491- console . log ( 'Testing if the failure is a timing issue' ) ;
492- console . log ( 'Testing if the failure is a timing issue' ) ;
493- console . log ( 'Testing if the failure is a timing issue' ) ;
494- console . log ( 'Testing if the failure is a timing issue' ) ;
495- console . log ( 'Testing if the failure is a timing issue' ) ;
496- console . log ( 'Testing if the failure is a timing issue' ) ;
497- console . log ( 'Testing if the failure is a timing issue' ) ;
498-
499- await new Promise ( ( res , _rej ) => setTimeout ( ( ) => res ( ) , 10000 ) )
500- await pressElement ( page , '#openFilterToggle' ) ;
501- }
461+ await pressElement ( page , '#openFilterToggle' ) ;
502462
503463 await page . select ( '.runDuration-filter select' , '>=' ) ;
504464
0 commit comments