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

Repro #22518: Changing model definition will not show changes until after...

Repro #22518: Changing model definition will not show changes until after browser refresh (#23149) [skip ci]

* Add repro for #22518

* Reinforce the test

* Skip repro
parent e2f4a4f6
No related branches found
No related tags found
No related merge requests found
import {
restore,
openQuestionActions,
summarize,
sidebar,
} from "__support__/e2e/cypress";
describe.skip("issue 22518", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
cy.createNativeQuestion(
{
native: {
query: "select 1 id, 'a' foo",
},
dataset: true,
},
{ visitQuestion: true },
);
});
it("UI should immediately reflect model query changes upon saving (metabase#22518)", () => {
openQuestionActions();
cy.findByText("Edit query definition").click();
cy.get(".ace_content").type(", 'b' bar");
cy.findByText("Save changes").click();
cy.findAllByTestId("header-cell")
.should("have.length", 3)
.and("contain", "BAR");
summarize();
sidebar()
.should("contain", "ID")
.and("contain", "FOO")
.and("contain", "BAR");
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment