|
|
@ -55,7 +55,7 @@ test.describe('Common', () => { |
|
|
|
// Index is the order in which menu options appear
|
|
|
|
// Index is the order in which menu options appear
|
|
|
|
for (let i = 1; i < langMenu.length; i++) { |
|
|
|
for (let i = 1; i < langMenu.length; i++) { |
|
|
|
// scripts/playwright/tests/language.spec.ts
|
|
|
|
// scripts/playwright/tests/language.spec.ts
|
|
|
|
const json = require(`../../../lang/${langMenu[i]}`); |
|
|
|
const json = require(`../../../packages/nc-gui/lang/${langMenu[i]}`); |
|
|
|
await projectsPage.openLanguageMenu(); |
|
|
|
await projectsPage.openLanguageMenu(); |
|
|
|
await projectsPage.selectLanguage({ index: i }); |
|
|
|
await projectsPage.selectLanguage({ index: i }); |
|
|
|
await projectsPage.verifyLanguage({ json }); |
|
|
|
await projectsPage.verifyLanguage({ json }); |
|
|
|