diff --git a/cypress/integration/common/search.js b/cypress/integration/common/search.js index 282793547..1feece77e 100644 --- a/cypress/integration/common/search.js +++ b/cypress/integration/common/search.js @@ -43,7 +43,7 @@ Then("I should see the following users in the select dropdown:", table => { }); }); -When("I type {PR} and press Enter", value => { +When("I type {string} and press Enter", value => { cy.get(".searchable-input .ds-select input") .focus() .type(value) diff --git a/cypress/integration/search/Search.feature b/cypress/integration/search/Search.feature index a7bc99d18..b77b45d8e 100644 --- a/cypress/integration/search/Search.feature +++ b/cypress/integration/search/Search.feature @@ -24,7 +24,7 @@ Feature: Search | 101 Essays that will change the way you think | Scenario: Press enter starts search - When I type "Es" and press Enter + When I type "PR" and press Enter Then I should have one item in the select dropdown Then I should see the following posts in the select dropdown: | title |