mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-08-25 08:52:06 +00:00
Synchronize TrueNAS storage drawer search
Target the hydrated search combobox and require it to be visible before filling it, keeping the disk-history journey aligned with the rendered control. Contract-Neutral: true
This commit is contained in:
parent
34ae5c98f9
commit
e810969a25
1 changed files with 3 additions and 3 deletions
|
|
@ -57,9 +57,9 @@ test.describe('TrueNAS storage disk history', () => {
|
|||
});
|
||||
|
||||
await page.goto('/truenas/storage', { waitUntil: 'domcontentloaded' });
|
||||
await page
|
||||
.getByRole('textbox', { name: /Search TrueNAS/ })
|
||||
.fill('sdc');
|
||||
const search = page.getByRole('combobox', { name: /Search TrueNAS/ });
|
||||
await expect(search).toBeVisible();
|
||||
await search.fill('sdc');
|
||||
|
||||
const diskRow = page.locator('tr').filter({ hasText: 'sdc' }).first();
|
||||
await expect(diskRow).toBeVisible();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue