mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Force click on clear btn
- cypress passing locally, but failing the build, the previous search term is not being cleared, which does happen when the clear button is clicked
This commit is contained in:
parent
3ef04f8391
commit
61c80e920d
@ -16,7 +16,7 @@ Then("the search has no results", () => {
|
|||||||
expect($li).to.have.length(1);
|
expect($li).to.have.length(1);
|
||||||
});
|
});
|
||||||
cy.get(".ds-select-dropdown").should("contain", 'Nothing found');
|
cy.get(".ds-select-dropdown").should("contain", 'Nothing found');
|
||||||
cy.get(".search-clear-btn").trigger("click");
|
cy.get(".search-clear-btn").trigger("click", { force: true });
|
||||||
});
|
});
|
||||||
|
|
||||||
Then("I should see the following posts in the select dropdown:", table => {
|
Then("I should see the following posts in the select dropdown:", table => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user