cypress test data adjusted to new search mechanism

This commit is contained in:
Moriz Wahl 2020-03-10 13:31:13 +01:00 committed by mattwr18
parent 8f1b3b9f6b
commit 4a2d250854
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 |