Update history test for collapsed responses
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user