Skip to content

Commit

Permalink
Merge pull request #4109 from alisman/calledbut
Browse files Browse the repository at this point in the history
Add e2e test for freqency calculation in study view on study with cal…

Former-commit-id: cb0e1cb512e3f10a27e77b8f70267b52f3c44de4
  • Loading branch information
alisman authored Jan 3, 2022
2 parents f357a88 + 76c2093 commit d32b2ba
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 d32b2ba

Please sign in to comment.