Skip to content

Commit cbe789f

Browse files
committed
add ui test
1 parent a6d27ad commit cbe789f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

test/public/runs/runsPerDataPass.overview.test.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,22 @@ module.exports = () => {
417417
await expectColumnValues(page, 'runNumber', ['108', '107', '106']);
418418
});
419419

420+
it('should successfully apply detectors notBadFraction filters', async () => {
421+
await pressElement(page, '#openFilterToggle', true);
422+
423+
await page.waitForSelector('#detectorsQc-for-1-notBadFraction-operator');
424+
await page.select('#detectorsQc-for-1-notBadFraction-operator', '<=');
425+
await fillInput(page, '#gaqNotBadFraction-operand', '70', ['change']);
426+
await expectColumnValues(page, 'runNumber', ['106']);
427+
428+
await pressElement(page, '#mcReproducibleAsNotBadToggle input', true);
429+
await expectColumnValues(page, 'runNumber', []);
430+
431+
await pressElement(page, '#openFilterToggle', true);
432+
await pressElement(page, '#reset-filters', true);
433+
await expectColumnValues(page, 'runNumber', ['108', '107', '106']);
434+
});
435+
420436
it('should successfully apply muInelasticInteractionRate filters', async () => {
421437
await navigateToRunsPerDataPass(page, 2, 1, 3);
422438
await pressElement(page, '#openFilterToggle');

0 commit comments

Comments
 (0)