From e6a3300b6e29f437bf4ca92daf4902b7ac6a91a9 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Mon, 20 Feb 2023 11:07:36 -0300 Subject: [PATCH] set back to en --- e2e/tests/assorted/12-i18n.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e/tests/assorted/12-i18n.spec.ts b/e2e/tests/assorted/12-i18n.spec.ts index ba95de508..29f310602 100644 --- a/e2e/tests/assorted/12-i18n.spec.ts +++ b/e2e/tests/assorted/12-i18n.spec.ts @@ -119,6 +119,10 @@ describe('i18n', () => { await element(by.id('sidebar-close-drawer')).tap(); }); + afterAll(async () => { + await post('users.setPreferences', { data: { language: 'en' } }); // Set back to english + }); + // it("should set unsupported language and fallback to 'en'", async () => { // await post('users.setPreferences', { data: { language: 'eo' } }); // Set language to Esperanto // await device.launchApp({ ...defaultLaunchArgs, newInstance: true });