mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Try using Esc to clear previous search
This commit is contained in:
parent
61c80e920d
commit
9f8c207b46
@ -16,7 +16,9 @@ Then("the search has no results", () => {
|
||||
expect($li).to.have.length(1);
|
||||
});
|
||||
cy.get(".ds-select-dropdown").should("contain", 'Nothing found');
|
||||
cy.get(".search-clear-btn").trigger("click", { force: true });
|
||||
cy.get("#search-resources")
|
||||
.focus()
|
||||
.type("{esc}");
|
||||
});
|
||||
|
||||
Then("I should see the following posts in the select dropdown:", table => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user