mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 22:18:33 +00:00
refactor: update UI interactions and improve test stability (#6042)
This commit is contained in:
@@ -27,7 +27,7 @@ test.describe.serial('Edit Response Examples', () => {
|
||||
|
||||
await test.step('Open existing example', async () => {
|
||||
await page.locator('.collection-item-name', { hasText: 'edit-example' }).getByTestId('request-item-chevron').click();
|
||||
const exampleItem = page.locator('.collection-item-name').getByText('Test Example', { exact: true });
|
||||
const exampleItem = page.locator('.collection-item-name').filter({ hasText: 'Test Example' });
|
||||
await expect(exampleItem).toBeVisible();
|
||||
await exampleItem.click();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user