diff --git a/integration-tests/cypress/e2e/blink-ripgrep/basic_spec.cy.ts b/integration-tests/cypress/e2e/blink-ripgrep/basic_spec.cy.ts index 858b4af..7ba4d74 100644 --- a/integration-tests/cypress/e2e/blink-ripgrep/basic_spec.cy.ts +++ b/integration-tests/cypress/e2e/blink-ripgrep/basic_spec.cy.ts @@ -294,7 +294,11 @@ describe("debug mode", () => { // start insert mode cy.typeIntoTerminal("a") - cy.typeIntoTerminal(result.value ?? "") + // Quickly send the text over instead of typing it out. Cypress is a + // bit slow when writing a lot of text. + cy.runLuaCode({ + luaCode: `vim.api.nvim_feedkeys([[${result.value}]], "n", true)`, + }) cy.typeIntoTerminal("{enter}") // The results will lbe 5-10 lines of jsonl.