mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
more coverage
This commit is contained in:
parent
4200fde9e8
commit
67f600fb5e
@ -31,6 +31,9 @@ test('PUI - Pages - Index - Scan (Part)', async ({ page }) => {
|
||||
await page.getByText('R_10R_0402_1%').waitFor();
|
||||
await page.getByText('Stock:').waitFor();
|
||||
await page.getByRole('cell', { name: 'part' }).waitFor();
|
||||
|
||||
// follow link section
|
||||
await page.getByRole('button', { name: 'Open Link' }).click();
|
||||
});
|
||||
|
||||
test('PUI - Pages - Index - Scan (Stockitem)', async ({ page }) => {
|
||||
@ -126,7 +129,8 @@ test('PUI - Pages - Index - Scan (General)', async ({ page }) => {
|
||||
|
||||
// Toggle fullscreen
|
||||
await page.getByRole('button', { name: 'Toggle Fullscreen' }).click();
|
||||
await page.waitForTimeout(1000);
|
||||
await page.getByRole('button', { name: 'Toggle Fullscreen' }).click();
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
// Search for part
|
||||
await page.getByRole('button', { name: 'Lookup part' });
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user