cleanup search

This commit is contained in:
Ulf Gebhardt 2021-04-12 19:07:43 +02:00
parent 07531fc42a
commit d5fa1bda00
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"; 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") cy.get(".searchable-input .ds-select input")
.focus() .focus()
.type(postTitle); .type(value)
.wait(750);
}); });