cleanup search

This commit is contained in:
Ulf Gebhardt 2021-04-12 19:07:43 +02:00
parent faf721b0ba
commit 64a83a7a63
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
2 changed files with 3 additions and 9 deletions

View File

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

View File

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