mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
cypress test data adjusted to new search mechanism
This commit is contained in:
parent
8f1b3b9f6b
commit
4a2d250854
@ -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)
|
||||
|
||||
@ -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 |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user