refactor: update UI interactions and improve test stability (#6042)

This commit is contained in:
Abhishek S Lal
2025-11-08 01:54:50 +05:30
committed by GitHub
parent 3fe5299d8e
commit a186df3ac4
21 changed files with 171 additions and 211 deletions

View File

@@ -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();
});