Skip to content
Snippets Groups Projects
Unverified Commit 9b3026a8 authored by Jessica DeWitt's avatar Jessica DeWitt Committed by GitHub
Browse files

Cy improvement/admin (#13006)

* improvement to admin.cy

* added change to 'snippets.cy'
parent 9f64c013
No related branches found
No related tags found
No related merge requests found
......@@ -108,11 +108,7 @@ describe("metabase-smoketest > admin", () => {
cy.findAllByText("Created At")
.last()
.click();
cy.get("input[type='text']")
.wait(1)
.clear()
.wait(1)
.type("5");
cy.get("input[type='text']").type("{selectall}{del}5");
cy.findByText("Days").click();
cy.findByText("Years").click();
sidebar()
......
......@@ -40,12 +40,12 @@ describe("scenarios > question > snippets", () => {
// update the name and content
modal().within(() => {
cy.findByText("Editing stuff-snippet");
cy.findByLabelText("Enter some SQL here so you can reuse it later")
.clear()
.type("'foo'");
cy.findByLabelText("Give your snippet a name")
.clear()
.type("foo");
cy.findByLabelText("Enter some SQL here so you can reuse it later").type(
"{selectall}{del}'foo'",
);
cy.findByLabelText("Give your snippet a name").type(
"{selectall}{del}foo",
);
cy.findByText("Save").click();
});
......
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