Skip to content
Snippets Groups Projects
Unverified Commit 2820cb0a authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Repro #23421: `visualization_settings` can break UI (#23562)

parent fdc4104f
Branches
Tags
No related merge requests found
import { restore, openQuestionActions } from "__support__/e2e/helpers";
const query = 'SELECT 1 AS "id", current_timestamp::timestamp AS "created_at"';
const questionDetails = {
native: {
query,
},
displayIsLocked: true,
visualization_settings: {
"table.columns": [],
"table.pivot_column": "orphaned1",
"table.cell_column": "orphaned2",
},
dataset: true,
};
describe.skip("issue 23421", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
cy.createNativeQuestion(questionDetails, { visitQuestion: true });
});
it("`visualization_settings` should not break UI (metabase#23421)", () => {
openQuestionActions();
cy.findByText("Edit query definition").click();
cy.get(".ace_content").should("contain", query);
cy.get(".cellData").should("have.length", 4);
cy.button("Save changes").should("be.disabled");
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment