diff --git a/smoke-test/tests/cypress/cypress/e2e/mutations/managed_ingestion.js b/smoke-test/tests/cypress/cypress/e2e/mutations/managed_ingestion.js index b578a7da55ac5..d23b0ca7523b8 100644 --- a/smoke-test/tests/cypress/cypress/e2e/mutations/managed_ingestion.js +++ b/smoke-test/tests/cypress/cypress/e2e/mutations/managed_ingestion.js @@ -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", () => {