Wait for query change to propagate on pivot spec (#6142)

This commit is contained in:
Gabriel Dutra
2023-07-07 00:02:43 -03:00
committed by GitHub
parent b9bdfe83cc
commit d6432482bf

View File

@@ -99,6 +99,10 @@ describe("Pivot", () => {
.focus()
.type(" UNION ALL {enter}SELECT 'c' AS stage1, 'c5' AS stage2, 55 AS value");
// wait for the query text change to propagate (it's debounced in QuerySource.jsx)
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(200);
cy.getByTestId("SaveButton").click();
cy.getByTestId("ExecuteButton")
.should("be.enabled")