2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-03-15 16:40:56 +00:00

Add tests for manufacturing index page

This commit is contained in:
Oliver Walters
2025-12-01 10:28:29 +00:00
parent 612be74596
commit 931c009c0f

View File

@@ -11,6 +11,26 @@ import {
} from '../helpers.ts';
import { doCachedLogin } from '../login.ts';
test('Build - Index', async ({ browser }) => {
const page = await doCachedLogin(browser, { url: 'manufacturing/index/' });
await loadTab(page, 'Build Orders');
// Ensure all data views are available
await page
.getByRole('button', { name: 'segmented-icon-control-parametric' })
.click();
await page
.getByRole('button', { name: 'segmented-icon-control-calendar' })
.click();
await page.getByRole('button', { name: 'action-button-next-month' }).click();
await page
.getByRole('button', { name: 'segmented-icon-control-table' })
.click();
});
test('Build Order - Basic Tests', async ({ browser }) => {
const page = await doCachedLogin(browser);