mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
cleanup search
This commit is contained in:
parent
07531fc42a
commit
d5fa1bda00
@ -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);
|
|
||||||
});
|
|
||||||
@ -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);
|
||||||
});
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user