@@ -11,8 +11,8 @@ import {
1111import { anvilFilters , anvilTabs , anvilTabTestOrder } from "./anvil-tabs" ;
1212
1313test . describe . configure ( { mode : "parallel" , timeout : 60 * 1000 } ) ;
14- const filter_index_list = [ 3 , 4 , 5 , 7 , 6 , 2 ] ;
15-
14+ const filter_index_list = [ 3 , 4 , 5 , 10 , 6 , 2 ] ;
15+ const filter_index_list_short = [ 1 , 10 , 3 ] ;
1616test ( "Check that all filters exist on the Datasets tab and are clickable" , async ( {
1717 page,
1818} ) => {
@@ -108,32 +108,35 @@ test("Check that filter menu counts match actual counts on the Activities tab",
108108 ) ;
109109} ) ;
110110
111+ test . setTimeout ( 120000 ) ;
111112test ( "Check that the blue filter bubbles match the selected filter for an arbitrary filter on the Files tab" , async ( {
112113 page,
113114} ) => {
114115 await testFilterBubbles (
115116 page ,
116117 anvilTabs . files ,
117- filter_index_list . map ( ( x ) => anvilFilters [ x ] )
118+ filter_index_list_short . map ( ( x ) => anvilFilters [ x ] )
118119 ) ;
119120} ) ;
120121
122+ test . setTimeout ( 120000 ) ;
121123test ( "Check that the blue filter bubbles match the selected filter for an arbitrary filter on the BioSamples tab" , async ( {
122124 page,
123125} ) => {
124126 await testFilterBubbles (
125127 page ,
126128 anvilTabs . biosamples ,
127- filter_index_list . map ( ( x ) => anvilFilters [ x ] )
129+ filter_index_list_short . map ( ( x ) => anvilFilters [ x ] )
128130 ) ;
129131} ) ;
130132
133+ test . setTimeout ( 120000 ) ;
131134test ( "Check that the clear all button functions on the files tab" , async ( {
132135 page,
133136} ) => {
134137 await testClearAll (
135138 page ,
136139 anvilTabs . files ,
137- filter_index_list . map ( ( x ) => anvilFilters [ x ] )
140+ filter_index_list_short . map ( ( x ) => anvilFilters [ x ] )
138141 ) ;
139142} ) ;
0 commit comments