From 47204ada61d424a2f89342048f05d94129c7f832 Mon Sep 17 00:00:00 2001 From: Mysteriedev Date: Sun, 6 Mar 2022 18:32:39 +0100 Subject: [PATCH] logout after test --- cypress/integration/03-system-settings.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cypress/integration/03-system-settings.spec.js b/cypress/integration/03-system-settings.spec.js index 6e9e3c7..b7943b5 100644 --- a/cypress/integration/03-system-settings.spec.js +++ b/cypress/integration/03-system-settings.spec.js @@ -10,6 +10,10 @@ describe("Typemill System Settings", function () { Cypress.Cookies.preserveOnce("typemill-session"); }); + after(function () { + cy.logoutTypemill(); + }); + it("validates the form", function () { // fill out valid data cy.get('input[name="settings[title]"]')