mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-08 12:31:06 +00:00
refactor(frontend): use central user creds (#11520)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { expect } from '@playwright/test';
|
||||
import { test } from '../baseFixtures.ts';
|
||||
import { readeruser } from '../defaults.ts';
|
||||
import {
|
||||
activateCalendarView,
|
||||
activateTableView,
|
||||
@@ -259,8 +260,7 @@ test('Purchase Orders - Barcodes', async ({ browser }) => {
|
||||
|
||||
test('Purchase Orders - Filters', async ({ browser }) => {
|
||||
const page = await doCachedLogin(browser, {
|
||||
username: 'reader',
|
||||
password: 'readonly'
|
||||
user: readeruser
|
||||
});
|
||||
|
||||
await page.getByRole('tab', { name: 'Purchasing' }).click();
|
||||
|
||||
Reference in New Issue
Block a user