mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 22:18:33 +00:00
fix: tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { test } from '../../playwright';
|
||||
import { test, expect } from '../../playwright';
|
||||
import { setSandboxMode, runCollection, validateRunnerResults } from '../utils/page/index';
|
||||
|
||||
test.describe.parallel('Collection Run', () => {
|
||||
@@ -29,7 +29,7 @@ test.describe.parallel('Collection Run', () => {
|
||||
await page.getByRole('button', { name: 'Save' }).click();
|
||||
await page.locator('.environment-selector').nth(1).click();
|
||||
await page.locator('.dropdown-item').getByText('Prod').click();
|
||||
const collectionContainer = page.locator('.collection-name').filter({ hasText: 'bruno-testbench' });
|
||||
const collectionContainer = page.getByTestId('collections').locator('.collection-name').filter({ hasText: 'bruno-testbench' });
|
||||
await collectionContainer.locator('.collection-actions').hover();
|
||||
await collectionContainer.locator('.collection-actions .icon').waitFor({ state: 'visible' });
|
||||
await collectionContainer.locator('.collection-actions .icon').click();
|
||||
|
||||
Reference in New Issue
Block a user