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

#15077 Repro: Dashboard sharing is not possible for dashboards with text cards only (#15096)

parent 6055fdd0
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,24 @@ describe("scenarios > dashboard > subscriptions", () => {
.should("have.class", "cursor-default");
});
it.skip("should allow sharing if dashboard contains only text cards (metabase#15077)", () => {
cy.createDashboard("15077D").then(({ body: { id: DASHBOARD_ID } }) => {
cy.visit(`/dashboard/${DASHBOARD_ID}`);
});
cy.icon("pencil").click();
cy.icon("string").click();
cy.findByPlaceholderText("Write here, and use Markdown if you'd like")
.click()
.type("Foo");
cy.findByRole("button", { name: "Save" }).click();
cy.findByText("You're editing this dashboard.").should("not.exist");
cy.icon("share")
.closest("a")
.should("have.class", "cursor-pointer")
.click();
cy.findByText("Dashboard subscriptions").click();
});
describe("with no channels set up", () => {
it("should instruct user to connect email or slack", () => {
openDashboardSubscriptions();
......
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