set back to en

This commit is contained in:
Diego Mello 2023-02-20 11:07:36 -03:00
parent 00f9bfc3e9
commit e6a3300b6e
1 changed files with 4 additions and 0 deletions

View File

@ -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 });