2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-05 03:21:35 +00:00

Add divider to dashboard (#9884)

* Add divider to dashboard

* Tweak unit test
This commit is contained in:
Oliver
2025-06-27 16:55:57 +10:00
committed by GitHub
parent 5bf7a8ea31
commit aa4927ddb6
2 changed files with 6 additions and 3 deletions

View File

@@ -126,13 +126,15 @@ test('Part - Editing', async ({ browser }) => {
.fill(keywords ? '' : 'table furniture');
// Test URL validation
await page.getByLabel('text-field-link').fill('htxp-??QQQ++');
await page
.getByRole('textbox', { name: 'text-field-link' })
.fill('htxp-??QQQ++');
await page.waitForTimeout(200);
await page.getByRole('button', { name: 'Submit' }).click();
await page.getByText('Enter a valid URL.').waitFor();
// Fill with an empty URL
await page.getByLabel('text-field-link').fill('');
await page.getByRole('textbox', { name: 'text-field-link' }).fill('');
await page.waitForTimeout(200);
await page.getByRole('button', { name: 'Submit' }).click();
await page.getByText('Item Updated').waitFor();