mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-19 09:40:43 +00:00
refactor(frontend): use central user creds (#11520)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { expect, test } from './baseFixtures.js';
|
||||
import { adminuser } from './defaults.js';
|
||||
import { activateTableView, loadTab } from './helpers.js';
|
||||
import { doCachedLogin } from './login.js';
|
||||
import { setPluginState } from './settings.js';
|
||||
@@ -79,8 +80,7 @@ test('Printing - Report Printing', async ({ browser }) => {
|
||||
|
||||
test('Printing - Report Editing', async ({ browser }) => {
|
||||
const page = await doCachedLogin(browser, {
|
||||
username: 'admin',
|
||||
password: 'inventree'
|
||||
user: adminuser
|
||||
});
|
||||
|
||||
// activate the sample plugin for this test
|
||||
|
||||
Reference in New Issue
Block a user