From fe562b90c1a9d2ce468619a4945d0ff6867ca0fd Mon Sep 17 00:00:00 2001 From: Alexandre Hajjar Date: Tue, 7 Sep 2021 19:24:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Try=20fixing=20g=C3=A9rer=20spec?= =?UTF-8?q?=20flakiness?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cypress/integration/mon-entreprise/english/gérer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mon-entreprise/cypress/integration/mon-entreprise/english/gérer.js b/mon-entreprise/cypress/integration/mon-entreprise/english/gérer.js index 4f37977c0..ca1d93b02 100644 --- a/mon-entreprise/cypress/integration/mon-entreprise/english/gérer.js +++ b/mon-entreprise/cypress/integration/mon-entreprise/english/gérer.js @@ -12,6 +12,8 @@ describe(`Manage page test (${ let responses = {} const hostnamesToRecord = ['entreprise.data.gouv.fr', 'geo.api.gouv.fr'] beforeEach(() => { + cy.clearLocalStorage() // Try to avoid flaky tests + pendingRequests = new Set() responses = {} cy.setInterceptResponses(