diff --git a/tests/playwright/setup/db.ts b/tests/playwright/setup/db.ts index 9b65a1262c..d42591f406 100644 --- a/tests/playwright/setup/db.ts +++ b/tests/playwright/setup/db.ts @@ -53,7 +53,7 @@ const mysqlExec = async query => { async function sqliteExec(query) { const parallelIndex = process.env.TEST_PARALLEL_INDEX; - const rootProjectDir = __dirname.replace('/packages/nc-gui/tests/playwright/setup', ''); + const rootProjectDir = __dirname.replace('/tests/playwright/setup', ''); await sqliteDb.open(`${rootProjectDir}/packages/nocodb/test_sakila_${parallelIndex}.db`); await sqliteDb.run(query); diff --git a/tests/playwright/tests/language.spec.ts b/tests/playwright/tests/language.spec.ts index 166f0b0d14..8da7e6021d 100644 --- a/tests/playwright/tests/language.spec.ts +++ b/tests/playwright/tests/language.spec.ts @@ -55,7 +55,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(`../../../lang/${langMenu[i]}`); + const json = require(`../../../packages/nc-gui/lang/${langMenu[i]}`); await projectsPage.openLanguageMenu(); await projectsPage.selectLanguage({ index: i }); await projectsPage.verifyLanguage({ json });