Skip to content

Commit

Permalink
Add e2e test for freqency calculation in study view on study with cal…
Browse files Browse the repository at this point in the history
…led but unprofiled mutations

Former-commit-id: 96320cc6c6e7a182deeba95a5d1a9b0489d1e73f
  • Loading branch information
alisman committed Jan 3, 2022
1 parent f357a88 commit 76c2093
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions end-to-end-test/remote/specs/core/studyview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -817,3 +817,18 @@ describe('study view treatments table', () => {
assertScreenShotMatch(res);
});
});

describe('study view mutations table', () => {
// this guards against server-side regression
// in which frequencies are miscalculated for
// with mutations which are called but not profile
it('shows mutation frequencies correctly for called but unprofiled mutations', () => {
var url = `${CBIOPORTAL_URL}/study/summary?id=msk_impact_2017`;
goToUrlAndSetLocalStorage(url);

const res = checkElementWithMouseDisabled(
"[data-test='chart-container-msk_impact_2017_mutations']"
);
assertScreenShotMatch(res);
});
});

0 comments on commit 76c2093

Please sign in to comment.