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

#8406 Repro: It shouldn't be possible to change permission levels on...

#8406 Repro: It shouldn't be possible to change permission levels on sub-collections inside personal collection (#15345)
parent 593f8a36
Branches
Tags
No related merge requests found
......@@ -28,16 +28,31 @@ describe("personal collections", () => {
});
});
it("shouldn't be able to change permission levels on or edit personal collections", () => {
it("shouldn't be able to change permission levels or edit personal collections", () => {
cy.visit("/collection/root");
cy.findByText("Your personal collection").click();
cy.icon("new_folder");
cy.icon("lock").should("not.exist");
cy.icon("pencil").should("not.exist");
// Visit random user's personal collection
cy.visit("/collection/5");
cy.icon("new_folder");
cy.icon("lock").should("not.exist");
cy.icon("pencil").should("not.exist");
});
it.skip("shouldn't be able to change permission levels for sub-collections in personal collections (metabase#8406)", () => {
cy.visit("/collection/root");
cy.findByText("Your personal collection").click();
// Create new collection inside admin's personal collection and navigate to it
addNewCollection("Foo");
cy.get("[class*=CollectionSidebar]")
.findByText("Foo")
.click();
cy.icon("new_folder");
cy.icon("pencil");
cy.icon("lock").should("not.exist");
});
});
describe("all users", () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment