more coverage

This commit is contained in:
Matthias Mair 2024-05-07 07:50:43 +02:00
parent 4200fde9e8
commit 67f600fb5e
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -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' });
});