Skip to content
Snippets Groups Projects
Unverified Commit a9dd888e authored by Alexander Lesnenko's avatar Alexander Lesnenko Committed by GitHub
Browse files

unskip 17738 repro (#17877)

* unskip 17738 repro

* move the repro to run in EE
parent b7d52e5f
No related branches found
No related tags found
No related merge requests found
......@@ -509,27 +509,6 @@ describe("scenarios > admin > permissions", () => {
cy.findAllByText("Orders").should("not.exist");
});
it.skip("'block' data permission should not have editable 'native query editing' option (metabase#17738)", () => {
cy.visit("/admin/permissions/data/database/1");
cy.findByText("All Users")
.closest("tr")
.as("allUsersRow")
.within(() => {
isPermissionDisabled("No", true);
isPermissionDisabled("No self-service", false).click();
});
popover()
.contains("Block")
.click();
cy.get("@allUsersRow").within(() => {
isPermissionDisabled("Block", false);
isPermissionDisabled("No", true);
});
});
});
describeWithToken("scenarios > admin > permissions", () => {
......@@ -597,6 +576,27 @@ describeWithToken("scenarios > admin > permissions", () => {
["readonly", "No self-service", "No"],
]);
});
it("'block' data permission should not have editable 'native query editing' option (metabase#17738)", () => {
cy.visit("/admin/permissions/data/database/1");
cy.findByText("All Users")
.closest("tr")
.as("allUsersRow")
.within(() => {
isPermissionDisabled("No", true);
isPermissionDisabled("No self-service", false).click();
});
popover()
.contains("Block")
.click();
cy.get("@allUsersRow").within(() => {
isPermissionDisabled("Block", false);
isPermissionDisabled("No", true);
});
});
});
function selectSidebarItem(item) {
......
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