Skip to content

Commit a142762

Browse files
committed
fix flaky
1 parent b6e53d0 commit a142762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/insomnia-smoke-test/tests/smoke/environment-editor-interactions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ test.describe('Environment Editor', () => {
294294
await page.getByLabel('Add Project Environment').click();
295295
await page.getByPlaceholder('Enter a name for your Environment').fill('My New Project Env');
296296
await page.getByRole('button', { name: 'Create', exact: true }).click();
297-
await expect.soft(insomnia.navigationSidebar.workspaceRow('My New Project Env')).toBeVisible();
297+
await page.getByRole('dialog', { name: 'Create or update dialog' }).waitFor({ state: 'hidden' });
298298
await insomnia.pressEscape();
299299

300300
// creating navigates into the new environment's own page; go back to the collection

0 commit comments

Comments
 (0)