Skip to content

Commit afa3564

Browse files
committed
test
1 parent ca3c51d commit afa3564

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

end-to-end-test/shared/wdio/wdio.conf.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ exports.config = {
165165
//
166166
//
167167

168-
specs: [SPEC_FILE_PATTERN],
168+
// specs: [SPEC_FILE_PATTERN],
169+
specs: ['./local/specs/hide-download-controls.spec.js'],
169170

170171
exclude: ['./local/specs/web-tour.spec.js'],
171172

src/pages/groupComparison/Survival.tsx

+12-5
Original file line numberDiff line numberDiff line change
@@ -1099,11 +1099,8 @@ export default class Survival extends React.Component<ISurvivalProps, {}> {
10991099

11001100
// set default plot if applicable
11011101
if (
1102-
(!doNotSetDefaultPlot &&
1103-
this.selectedSurvivalPlotPrefix === undefined) ||
1104-
!this.props.store.survivalClinicalAttributesPrefix.result?.includes(
1105-
this.selectedSurvivalPlotPrefix || ''
1106-
)
1102+
!doNotSetDefaultPlot &&
1103+
this.selectedSurvivalPlotPrefix === undefined
11071104
) {
11081105
// if the table exists pick the first one from the table's store for consistency
11091106
if (this.survivalPrefixTable.component) {
@@ -1125,6 +1122,16 @@ export default class Survival extends React.Component<ISurvivalProps, {}> {
11251122
this.selectedSurvivalPlotPrefix
11261123
];
11271124
const key = this.selectedSurvivalPlotPrefix;
1125+
1126+
// if (!this.props.store.survivalClinicalAttributesPrefix.result?.includes(
1127+
// key
1128+
// )) {
1129+
// this.setSurvivalPlotPrefix(
1130+
// this.survivalPrefixTableDataStore.result!.getSortedFilteredData()[0]
1131+
// .prefix
1132+
// );
1133+
// }
1134+
11281135
if (value.length > 0) {
11291136
if (
11301137
this.props.store.survivalDescriptions &&

0 commit comments

Comments
 (0)