2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-03 15:52:51 +00:00

Translate each language to their own language (#10419)

* Translate each language to their own language

* Playwright tests
This commit is contained in:
Oliver
2025-09-29 15:22:38 +10:00
committed by GitHub
parent b0a60ed963
commit 3aaa149956
2 changed files with 56 additions and 42 deletions

View File

@@ -91,6 +91,14 @@ test('Settings - User', async ({ browser }) => {
await page.getByText('Account Details').waitFor();
await page.getByText('Profile Details').waitFor();
// Language selection
await page.getByRole('textbox', { name: 'Select language' }).click();
await page.getByRole('option', { name: 'العربية' }).waitFor();
await page.getByRole('option', { name: 'Deutsch' }).waitFor();
await page.getByRole('option', { name: 'English' }).waitFor();
await page.getByRole('option', { name: 'Español', exact: true }).waitFor();
await page.getByRole('option', { name: '日本語' }).waitFor();
await loadTab(page, 'Security');
await page.getByRole('button', { name: 'Single Sign On' }).waitFor();
await page.getByRole('button', { name: 'Access Tokens' }).waitFor();