Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update e2e tests after hiding of default timeline events availability… #5094

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 0 additions & 42 deletions end-to-end-test/remote/specs/core/studyview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1006,48 +1006,6 @@ describe('study view treatments table', () => {
});
});

describe('study view timeline events availability table', () => {
it('verify timeline events availability table is visible', async () => {
await goToUrlAndSetLocalStorage(
`${CBIOPORTAL_URL}/study/summary?id=cesc_tcga_pan_can_atlas_2018`
);
await getElementByTestHandle('CLINICAL_EVENT_TYPE_COUNT-table', {
timeout: 20000,
});
});

it('verify filters can be applied', async () => {
await goToUrlAndSetLocalStorage(
`${CBIOPORTAL_URL}/study/summary?id=cesc_tcga_pan_can_atlas_2018`
);

await getElementByTestHandle('CLINICAL_EVENT_TYPE_COUNT-table', {
timeout: 20000,
});
const selectedPatients = await (
await getElementByTestHandle('selected-patients')
).getText();

const timelineEventsAvailabilityCheckBox =
'[data-test="CLINICAL_EVENT_TYPE_COUNT-table"] .ReactVirtualized__Table__row:nth-child(2) input';

const applyFilterButton =
'[data-test="CLINICAL_EVENT_TYPE_COUNT-table"] button';

await (
await getElement(timelineEventsAvailabilityCheckBox)
).waitForExist();
await clickElement(timelineEventsAvailabilityCheckBox);
await (await getElement(applyFilterButton)).waitForExist();
await clickElement(applyFilterButton);
await waitForNetworkQuiet();
assert.notEqual(
await (await getElementByTestHandle('selected-patients')).getText(),
selectedPatients
);
});
});

describe('study view mutations table', () => {
// this guards against server-side regression
// in which frequencies are miscalculated for
Expand Down
Loading