mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
CI: flaky test monitor (#7007)
This commit is contained in:
@@ -702,7 +702,10 @@ const switchResponseFormat = async (page: Page, format: string) => {
|
||||
await test.step(`Switch response format to ${format}`, async () => {
|
||||
const responseFormatTab = page.getByTestId('format-response-tab');
|
||||
await responseFormatTab.click();
|
||||
await page.getByTestId('format-response-tab-dropdown').getByText(format).click();
|
||||
// Wait for dropdown to be visible before clicking the format option
|
||||
const dropdown = page.getByTestId('format-response-tab-dropdown');
|
||||
await dropdown.waitFor({ state: 'visible' });
|
||||
await dropdown.getByText(format).click();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user