Skip to content

Commit aeae358

Browse files
author
Bryan Lai
committed
add test
1 parent c0f8207 commit aeae358

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

end-to-end-test/remote/specs/core/groupComparison.screenshot.spec.js

+21
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,27 @@ describe('group comparison page screenshot tests', () => {
478478
assertScreenShotMatch(res);
479479
});
480480

481+
it('group comparison page mutations tab two groups no mutations types selected', async () => {
482+
await goToUrlAndSetLocalStorage(
483+
`${CBIOPORTAL_URL}/comparison/mutations?sessionId=5cf89323e4b0ab413787436c&selectedEnrichmentEventTypes=%5B"HOMDEL"%2C"AMP"%2C"structural_variant"%5D`
484+
);
485+
await (
486+
await getElement('.borderedChart svg', {
487+
timeout: 20000,
488+
})
489+
).waitForDisplayed({
490+
timeout: 20000,
491+
});
492+
const res = await browser.checkElement(
493+
'[data-test="ComparisonPageMutationsTabPlot"]',
494+
'',
495+
{
496+
viewportChangePause: 4000,
497+
}
498+
); // hide these things because the timing of data loading makes this test so flaky
499+
assertScreenShotMatch(res);
500+
});
501+
481502
it('group comparison page mutations tab three groups first unselected', async () => {
482503
await goToUrlAndSetLocalStorage(
483504
`${CBIOPORTAL_URL}/comparison/mutations?comparisonId=634006c24dd45f2bc4c3d4aa&unselectedGroups=%5B"Colon%20Adenocarcinoma"%5D`

0 commit comments

Comments
 (0)