@@ -11,8 +11,8 @@ import {
11
11
import { anvilFilters , anvilTabs , anvilTabTestOrder } from "./anvil-tabs" ;
12
12
13
13
test . 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 ] ;
16
16
test ( "Check that all filters exist on the Datasets tab and are clickable" , async ( {
17
17
page,
18
18
} ) => {
@@ -108,32 +108,35 @@ test("Check that filter menu counts match actual counts on the Activities tab",
108
108
) ;
109
109
} ) ;
110
110
111
+ test . setTimeout ( 120000 ) ;
111
112
test ( "Check that the blue filter bubbles match the selected filter for an arbitrary filter on the Files tab" , async ( {
112
113
page,
113
114
} ) => {
114
115
await testFilterBubbles (
115
116
page ,
116
117
anvilTabs . files ,
117
- filter_index_list . map ( ( x ) => anvilFilters [ x ] )
118
+ filter_index_list_short . map ( ( x ) => anvilFilters [ x ] )
118
119
) ;
119
120
} ) ;
120
121
122
+ test . setTimeout ( 120000 ) ;
121
123
test ( "Check that the blue filter bubbles match the selected filter for an arbitrary filter on the BioSamples tab" , async ( {
122
124
page,
123
125
} ) => {
124
126
await testFilterBubbles (
125
127
page ,
126
128
anvilTabs . biosamples ,
127
- filter_index_list . map ( ( x ) => anvilFilters [ x ] )
129
+ filter_index_list_short . map ( ( x ) => anvilFilters [ x ] )
128
130
) ;
129
131
} ) ;
130
132
133
+ test . setTimeout ( 120000 ) ;
131
134
test ( "Check that the clear all button functions on the files tab" , async ( {
132
135
page,
133
136
} ) => {
134
137
await testClearAll (
135
138
page ,
136
139
anvilTabs . files ,
137
- filter_index_list . map ( ( x ) => anvilFilters [ x ] )
140
+ filter_index_list_short . map ( ( x ) => anvilFilters [ x ] )
138
141
) ;
139
142
} ) ;
0 commit comments