diff --git a/cypress/integration/Search/I_search_for_{string}.js b/cypress/integration/Search/I_search_for_{string}.js deleted file mode 100644 index 99e507447..000000000 --- a/cypress/integration/Search/I_search_for_{string}.js +++ /dev/null @@ -1,7 +0,0 @@ -import { When } from "cypress-cucumber-preprocessor/steps"; - -When("I search for {string}", value => { - cy.get(".searchable-input .ds-select input") - .focus() - .type(value); -}); \ No newline at end of file diff --git a/cypress/integration/common/I_search_for_{string}.js b/cypress/integration/common/I_search_for_{string}.js index 214cb4e33..9040de7d6 100644 --- a/cypress/integration/common/I_search_for_{string}.js +++ b/cypress/integration/common/I_search_for_{string}.js @@ -1,7 +1,8 @@ import { When } from "cypress-cucumber-preprocessor/steps"; -When("I search for {string}", postTitle => { +When("I search for {string}", value => { cy.get(".searchable-input .ds-select input") .focus() - .type(postTitle); + .type(value) + .wait(750); }); \ No newline at end of file