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

#16350 Repro: "Invite someone" button overlaps activate/deactivate radio...

#16350 Repro: "Invite someone" button overlaps activate/deactivate radio buttons on small screen widths (#16355)
parent dd7e12a1
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,15 @@ describe("scenarios > admin > people", () => {
cy.contains("Email address already in use.");
});
it.skip("'Invite someone' button shouldn't be covered/blocked on smaller screen sizes (metabase#16350)", () => {
cy.viewport(1000, 600);
cy.visit("/admin/people");
cy.button("Invite someone").click();
// Modal should appear with the following input field
cy.findByLabelText("First name");
});
it("should disallow admin to deactivate themselves", () => {
const { first_name, last_name } = admin;
const FULL_NAME = `${first_name} ${last_name}`;
......@@ -271,8 +280,7 @@ function showUserOptions(full_name) {
}
function clickButton(button_name) {
cy.findByText(button_name)
.closest(".Button")
cy.button(button_name)
.should("not.be.disabled")
.click();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment