Browse Source

test: update hardwired path in language spec

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5997/head
Raju Udava 2 years ago
parent
commit
6521c700b8
  1. 2
      tests/playwright/tests/db/features/language.spec.ts

2
tests/playwright/tests/db/features/language.spec.ts

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

Loading…
Cancel
Save