Skip to content

Commit

Permalink
Merge pull request #824 from opencb/TASK-5120
Browse files Browse the repository at this point in the history
TASK-5120 - Port Patch 1.6.5 -> 1.10.0
  • Loading branch information
juanfeSanahuja authored Oct 27, 2023
2 parents 63c70a0 + 5444c20 commit 1b6a48a
Show file tree
Hide file tree
Showing 16 changed files with 161 additions and 1,454 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/iva/variant-interpreter-grid-cancer-cnv.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ context("Variant Interpreter Grid Cancer CNV", () => {

it("should display Cohort Stats (Population Frequencies) tooltip", () => {
cy.get("tbody tr:first > td")
.eq(8)
.eq(10)
.within(() => {
cy.get("a")
.trigger("mouseover");
Expand All @@ -177,7 +177,7 @@ context("Variant Interpreter Grid Cancer CNV", () => {
.should("be.visible");
});

it("should display reference population frequencies tooltip", () => {
it.skip("should display reference population frequencies tooltip", () => {
cy.get("tbody tr:first > td")
.eq(9)
.within(() => {
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/iva/variant-interpreter-grid-cancer.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ context("Variant Interpreter Grid Cancer", () => {

it("should display cohort stats (population frequencies) tooltip", () => {
cy.get("tbody tr:first > td")
.eq(8)
.eq(10)
.within(() => {
cy.get("a").trigger("mouseover");
});
Expand All @@ -220,7 +220,7 @@ context("Variant Interpreter Grid Cancer", () => {

it("should reference population frequencies tooltip", () => {
cy.get("tbody tr:first > td")
.eq(9)
.eq(11)
.within(() => {
cy.get("a")
.trigger("mouseover");
Expand Down
6 changes: 3 additions & 3 deletions cypress/e2e/iva/variant-interpreter-grid-germline.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ context("Variant Interpreter Grid Germiline", () => {

it("should display cohort stats (Population Frequencies) tooltip", () => {
cy.get("tbody tr:first > td")
.eq(8)
.eq(9)
.within(() => {
cy.get("a")
.trigger("mouseover");
Expand All @@ -185,7 +185,7 @@ context("Variant Interpreter Grid Germiline", () => {

it("should display reference population frequencies tooltip", () => {
cy.get("tbody tr:first > td")
.eq(9)
.eq(10)
.within(() => {
cy.get("a")
.trigger("mouseover");
Expand All @@ -196,7 +196,7 @@ context("Variant Interpreter Grid Germiline", () => {

it("should display ACMG Prediction (Classification) tooltip", () => {
cy.get("tbody tr:first > td")
.eq(14)
.eq(15)
.within(() => {
cy.get("a")
.trigger("mouseover");
Expand Down
20 changes: 19 additions & 1 deletion src/sites/iva/conf/browsers.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,25 @@ const INTERPRETER_SETTINGS = {
],
},
{
id: "methods"
id: "methods",
items: [
{
type: "SINGLE",
methods: [
{id: "exomiser"},
],
},
{
type: "FAMILY",
methods: [
{id: "exomiser"},
],
},
{
type: "CANCER",
methods: [],
},
],
},
{
id: "variant-browser",
Expand Down
4 changes: 2 additions & 2 deletions src/webcomponents/commons/grid-commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,9 @@ export default class GridCommons {
}
}

isColumnVisible(colName) {
isColumnVisible(colName, parentName) {
if (this.config.columns?.length > 0) {
return this.config.columns.includes(colName);
return this.config.columns.includes(colName) || this.config.columns.includes(parentName);
} else {
// Columns are visible by default.
return true;
Expand Down
Empty file.
Empty file.
Loading

0 comments on commit 1b6a48a

Please sign in to comment.