Skip to content

Commit

Permalink
Final attempt - add more waiting
Browse files Browse the repository at this point in the history
  • Loading branch information
John Joyce committed Jul 1, 2024
1 parent 7759abf commit e0b52f0
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
function readyToTypeEditor() {
return cy
.get(".monaco-editor textarea")
.first()
.click({ force: true })
.get(".monaco-editor textarea:first")
.click()
.focused();
}

Expand All @@ -17,6 +16,8 @@ describe("run managed ingestion", () => {
cy.clickOptionWithTextToScrollintoView("Other");

cy.waitTextVisible("source-type");
cy.wait(10000) // waits for 5 seconds

readyToTypeEditor().type("{ctrl}a").clear({ force: true });
readyToTypeEditor().type("source:{enter}", { force: true });
readyToTypeEditor().type(" type: demo-data", { force: true });
Expand Down

0 comments on commit e0b52f0

Please sign in to comment.