Skip to content

Commit f05be51

Browse files
committed
improvements
1 parent 9ccfe01 commit f05be51

22 files changed

+21
-7
lines changed

packages/bruno-app/src/components/SecuritySettings/JsSandboxModeModal/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const JsSandboxModeModal = ({ collection }) => {
3737
hideClose={true}
3838
disableCloseOnOutsideClick={true}
3939
disableEscapeKey={true}
40+
dataTestId="js-sandbox-mode-modal"
4041
>
4142
<StyledWrapper>
4243
<div>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/import/insomnia/004-malformed-structure.spec.ts renamed to tests/import/insomnia/malformed-structure.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ test.describe('Invalid Insomnia Collection - Malformed Structure', () => {
1818
await page.locator('#import-collection-loader').waitFor({ state: 'hidden' });
1919

2020
// Check for error message - this should fail during JSON parsing
21-
const hasError = await page.getByText('Failed to parse the file').isVisible();
21+
const hasError = await page.getByText('Failed to parse the file').first().isVisible();
2222
expect(hasError).toBe(true);
2323

2424
// Cleanup: close any open modals
2525
await page.locator('[data-test-id="modal-close-button"]').click();
26+
27+
// Navigate back to Bruno welcome page
28+
await page.locator('.bruno-logo').click();
2629
});
2730
});

0 commit comments

Comments
 (0)