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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user