2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +00:00

Cleanup modals (#8432)

* Cleanup modals

* Fix for playwright test

* Playwright test updates
This commit is contained in:
Oliver
2024-11-06 21:53:37 +11:00
committed by GitHub
parent e46ae1a4e6
commit c062d5e48d
7 changed files with 99 additions and 86 deletions

View File

@ -53,27 +53,6 @@ test('Sales', async ({ page }) => {
await page.getByRole('tab', { name: 'Notes' }).click();
});
test('Scanning', async ({ page }) => {
await doQuickLogin(page);
await page.getByLabel('navigation-menu').click();
await page.getByRole('button', { name: 'System Information' }).click();
await page.locator('button').filter({ hasText: 'Dismiss' }).click();
await page.getByLabel('navigation-menu').click();
await page.getByRole('button', { name: 'Scan Barcode' }).click();
await page.getByPlaceholder('Select input method').click();
await page.getByRole('option', { name: 'Manual input' }).click();
await page.getByPlaceholder('Enter item serial or data').click();
await page.getByPlaceholder('Enter item serial or data').fill('123');
await page.getByPlaceholder('Enter item serial or data').press('Enter');
await page.getByRole('cell', { name: 'manually' }).click();
await page.getByRole('button', { name: 'Lookup part' }).click();
await page.getByPlaceholder('Select input method').click();
await page.getByRole('option', { name: 'Manual input' }).click();
});
test('Company', async ({ page }) => {
await doQuickLogin(page);