test: add after each method
This commit is contained in:
parent
cadbf4a2f6
commit
10d35b10e0
1 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue