From e7363fef6f39d3815d546765c7900e1fea0ed73e Mon Sep 17 00:00:00 2001 From: Olivia Guyot Date: Fri, 6 Oct 2023 14:07:24 +0200 Subject: [PATCH] e2e: make sure all translations are in english --- apps/datahub-e2e/src/support/e2e.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/datahub-e2e/src/support/e2e.ts b/apps/datahub-e2e/src/support/e2e.ts index 185d654ec6..253af616e7 100644 --- a/apps/datahub-e2e/src/support/e2e.ts +++ b/apps/datahub-e2e/src/support/e2e.ts @@ -15,3 +15,8 @@ // Import commands.js using ES2015 syntax: import './commands' + +beforeEach(() => { + // all tests should show english translations + window.localStorage.setItem('geonetwork-ui-language', 'en') +})