test: add after each method

This commit is contained in:
Ejaaz Khan 2025-12-02 15:25:50 +05:30
parent cadbf4a2f6
commit 10d35b10e0

View file

@ -19,6 +19,11 @@ context("Awesome Bar", () => {
cy.wait(400);
});
afterEach(() => {
cy.get("body").type("{esc}");
cy.wait(400);
});
after(() => {
cy.visit("/desk/todo"); // Make sure we're not bleeding any filters to the next spec.
cy.clear_filters();