mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-12 07:54:14 +00:00
UI cleanup (#9140)
* Refactor SecurityContext page: - Add Accordion to separate different groups - Fix "make primary" button (requires PATCH) - Responsive grid design * Add splash screen background to more pages * Adds playwright testing for email setup * Refactoring * Fix playwright tests
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { expect, test } from './baseFixtures.js';
|
||||
import { navigate } from './helpers.js';
|
||||
import { loadTab, navigate } from './helpers.js';
|
||||
import { doQuickLogin } from './login.js';
|
||||
import { setPluginState } from './settings.js';
|
||||
|
||||
@ -14,7 +14,7 @@ test('Label Printing', async ({ page }) => {
|
||||
await navigate(page, 'stock/location/index/');
|
||||
await page.waitForURL('**/platform/stock/location/**');
|
||||
|
||||
await page.getByRole('tab', { name: 'Stock Items' }).click();
|
||||
await loadTab(page, 'Stock Items');
|
||||
|
||||
// Select some labels
|
||||
await page.getByLabel('Select record 1', { exact: true }).click();
|
||||
@ -60,7 +60,7 @@ test('Report Printing', async ({ page }) => {
|
||||
|
||||
// Navigate to a specific PurchaseOrder
|
||||
await page.getByRole('tab', { name: 'Purchasing' }).click();
|
||||
await page.getByRole('tab', { name: 'Purchase Orders' }).click();
|
||||
await loadTab(page, 'Purchase Orders');
|
||||
|
||||
await page.getByRole('cell', { name: 'PO0009' }).click();
|
||||
|
||||
@ -98,7 +98,7 @@ test('Report Editing', async ({ page, request }) => {
|
||||
// Navigate to the admin center
|
||||
await page.getByRole('button', { name: 'admin' }).click();
|
||||
await page.getByRole('menuitem', { name: 'Admin Center' }).click();
|
||||
await page.getByRole('tab', { name: 'Label Templates' }).click();
|
||||
await loadTab(page, 'Label Templates');
|
||||
await page
|
||||
.getByRole('cell', { name: 'InvenTree Stock Item Label (' })
|
||||
.click();
|
||||
|
Reference in New Issue
Block a user