Skip to content

Commit

Permalink
oncoprint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bemijonathan committed Aug 19, 2024
1 parent 4f506bc commit 6aa7d0d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ describe('track group headers', () => {
});
});

describe('sorting', () => {
describe.only('sorting', () => {
const eventsPerSampleRadioButton =
'.oncoprintContainer .oncoprint__controls input[type="radio"][name="columnType"][value="0"]';
const eventsPerPatientRadioButton =
Expand Down Expand Up @@ -616,7 +616,7 @@ describe('sorting', () => {
assertScreenShotMatch(res);
});

it('oncoprint sorts through a flow with heatmap tracks sorted - sorted sample order 1', async () => {
it.only('oncoprint sorts through a flow with heatmap tracks sorted - sorted sample order 1', async () => {
await goToUrlAndSetLocalStorage(
CBIOPORTAL_URL +
'/index.do?cancer_study_id=gbm_tcga_pub&Z_SCORE_THRESHOLD=2.0&RPPA_SCORE_THRESHOLD=2.0&data_priority=0&case_set_id=gbm_tcga_pub_cnaseq&gene_list=TP53%2520MDM2%2520MDM4&geneset_list=%20&tab_index=tab_visualize&Action=Submit&genetic_profile_ids_PROFILE_MUTATION_EXTENDED=gbm_tcga_pub_mutations&genetic_profile_ids_PROFILE_COPY_NUMBER_ALTERATION=gbm_tcga_pub_cna_rae&clinicallist=FRACTION_GENOME_ALTERED%2CDFS_MONTHS%2CKARNOFSKY_PERFORMANCE_SCORE%2COS_STATUS&heatmap_track_groups=gbm_tcga_pub_mrna_median_Zscores%2CTP53%2CMDM2%2CMDM4%3Bgbm_tcga_pub_mrna_merged_median_Zscores%2CTP53%2CMDM2%2CMDM4&show_samples=true'
Expand All @@ -629,7 +629,11 @@ describe('sorting', () => {
const TP53HeatmapElements = await getNthOncoprintTrackOptionsElements(
8
);
await (await getElement(TP53HeatmapElements.button_selector)).moveTo();
await clickElement(TP53HeatmapElements.button_selector); // open track menu
await (
await getElement(TP53HeatmapElements.dropdown_selector)
).moveTo();
await waitForElementDisplayed(TP53HeatmapElements.dropdown_selector, {
timeout: 1000,
}); // wait for menu to appear
Expand Down

0 comments on commit 6aa7d0d

Please sign in to comment.