Skip to content

Commit

Permalink
Update managed_ingestion.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jjoyce0510 committed Jul 1, 2024
1 parent 96ea2b8 commit 30a5868
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
function readyToTypeEditor() {
// Get the first textarea within the Monaco editor and ensure it is visible
return cy
.get(".monaco-editor textarea:first", { timeout: 30000 })
.should("be.visible")
.and("not.be.disabled")
.click({ force: true })
.should("be.focused")
.then(($textarea) => {
if (!$textarea.is(":focus")) {
cy.wrap($textarea).click({ force: true }).focused();
}
});
return cy.get(".monaco-editor textarea:first").click().focused();
}

describe("run managed ingestion", () => {
Expand Down

0 comments on commit 30a5868

Please sign in to comment.