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

Repro #20517: Removing or adding column descriptions to metadata of Models...

Repro #20517: Removing or adding column descriptions to metadata of Models results in "failed save" (#20589)
parent b2df93e9
Branches
Tags
No related merge requests found
import { restore } from "__support__/e2e/cypress";
describe.skip("issue 20517", () => {
beforeEach(() => {
cy.intercept("PUT", "/api/card/1").as("updateCard");
restore();
cy.signInAsAdmin();
cy.request("PUT", "/api/card/1", { dataset: true });
});
it("should be able to save metadata changes with empty description (metabase#20517)", () => {
cy.visit("/model/1/metadata");
cy.findByLabelText("Description")
.clear()
.blur();
cy.button("Save changes").click();
cy.wait("@updateCard").then(({ response: { body, statusCode } }) => {
expect(statusCode).not.to.eq(400);
expect(body.errors).not.to.exist;
});
cy.button("Save failed").should("not.exist");
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment