Skip to content
Snippets Groups Projects
Unverified Commit 2e894d6f authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Models E2E tests: ensure that the Run button is visible first (#20059)

parent f4b6b872
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,9 @@ describe("scenarios > models query editor", () => {
cy.findByText("Pick a column to group by").click();
selectFromDropdown("Created At");
cy.get(".RunButton").click();
cy.get(".RunButton")
.should("be.visible")
.click();
cy.get(".TableInteractive").within(() => {
cy.findByText("Created At: Month");
......@@ -90,7 +92,9 @@ describe("scenarios > models query editor", () => {
cy.findByText("Pick a column to group by").click();
selectFromDropdown("Created At");
cy.get(".RunButton").click();
cy.get(".RunButton")
.should("be.visible")
.click();
cy.wait("@dataset");
cy.get(".LineAreaBarChart").should("not.exist");
......
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