2
0
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:
Matthias Mair
2026-03-14 03:29:46 +01:00
committed by GitHub
parent fda3204e33
commit d7af345e20
22 changed files with 118 additions and 105 deletions

View File

@@ -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