Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qlu-cls committed Jun 13, 2024
1 parent ca3c51d commit ca52e19
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 6 deletions.
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.
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.
1 change: 1 addition & 0 deletions end-to-end-test/shared/wdio/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ exports.config = {
//

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

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

Expand Down
2 changes: 1 addition & 1 deletion env/master.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export CBIOPORTAL_URL="${CBIOPORTAL_URL:-https://www.cbioportal.org}"
export CBIOPORTAL_URL="${CBIOPORTAL_URL:-https://master.cbioportal.org}"
export GENOME_NEXUS_URL="${GENOME_NEXUS_URL:-https://www.genomenexus.org}"
export BACKEND=cbioportal:demo-fix-clinical-table-sorting
17 changes: 12 additions & 5 deletions src/pages/groupComparison/Survival.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1099,11 +1099,8 @@ export default class Survival extends React.Component<ISurvivalProps, {}> {

// set default plot if applicable
if (
(!doNotSetDefaultPlot &&
this.selectedSurvivalPlotPrefix === undefined) ||
!this.props.store.survivalClinicalAttributesPrefix.result?.includes(
this.selectedSurvivalPlotPrefix || ''
)
!doNotSetDefaultPlot &&
this.selectedSurvivalPlotPrefix === undefined
) {
// if the table exists pick the first one from the table's store for consistency
if (this.survivalPrefixTable.component) {
Expand All @@ -1125,6 +1122,16 @@ export default class Survival extends React.Component<ISurvivalProps, {}> {
this.selectedSurvivalPlotPrefix
];
const key = this.selectedSurvivalPlotPrefix;

// if (!this.props.store.survivalClinicalAttributesPrefix.result?.includes(
// key
// )) {
// this.setSurvivalPlotPrefix(
// this.survivalPrefixTableDataStore.result!.getSortedFilteredData()[0]
// .prefix
// );
// }

if (value.length > 0) {
if (
this.props.store.survivalDescriptions &&
Expand Down

0 comments on commit ca52e19

Please sign in to comment.