@@ -193,6 +193,21 @@ module.exports = () => {
193193 } ) ;
194194
195195
196+ it ( 'should successfully apply detectors notBadFraction filters' , async ( ) => {
197+ await navigateToRunsPerSimulationPass ( page , 2 , 1 , 3 ) ;
198+ await pressElement ( page , '#openFilterToggle' , true ) ;
199+
200+ await page . waitForSelector ( '#detectorsQc-for-1-notBadFraction-operator' ) ;
201+ await page . select ( '#detectorsQc-for-1-notBadFraction-operator' , '<=' ) ;
202+ await fillInput ( page , '#detectorsQc-for-1-notBadFraction-operand' , '90' , [ 'change' ] ) ;
203+ await expectColumnValues ( page , 'runNumber' , [ '106' ] ) ;
204+
205+ await pressElement ( page , '#openFilterToggle' , true ) ;
206+ await pressElement ( page , '#reset-filters' , true ) ;
207+ await expectColumnValues ( page , 'runNumber' , [ '107' , '106' , '105' ] ) ;
208+ await navigateToRunsPerSimulationPass ( page , 1 , 2 , 3 ) ;
209+ } ) ;
210+
196211 it ( 'should successfully apply detectors notBadFraction filters' , async ( ) => {
197212 await navigateToRunsPerSimulationPass ( page , 2 , 1 , 3 ) ;
198213 await pressElement ( page , '#openFilterToggle' , true ) ;
0 commit comments