Update history test for collapsed responses

This commit is contained in:
2026-09-29 01:17:58 +02:00
parent 440aae215b
commit d7e8e849c3

View File

@@ -46,10 +46,12 @@ test('request history survives panel restart from IndexedDB', async ({ page }) =
});
await page.getByRole('button', { name: 'History', exact: true }).click();
await page.getByText('View response').first().click();
await expect(page.getByText('persisted response')).toBeVisible();
await expect(page.getByText('1', { exact: true }).first()).toBeVisible();
await page.reload();
await page.getByRole('button', { name: 'History', exact: true }).click();
await page.getByText('View response').first().click();
await expect(page.getByText('persisted response')).toBeVisible();
});