Add divider to dashboard (#9884)

* Add divider to dashboard

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

No files matched your search

+4 -2
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();