From 4a2d2508542208d914948a58bdb59339ca28ea44 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Tue, 10 Mar 2020 13:31:13 +0100 Subject: [PATCH] cypress test data adjusted to new search mechanism --- cypress/integration/common/search.js | 2 +- cypress/integration/search/Search.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 |