mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 22:18:33 +00:00
feat: Set JavaScript sandbox to safe mode by default for new collections (#4824)
* feat: Set JavaScript sandbox to safe mode by default for new collections * rm: sandbox code in playwright test * rm: safe mode code in var interpolation test * rm: sandbox modal code * fix * fix * fix * fix * improve * improvement * fix * fix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { test, expect } from '../../../playwright';
|
||||
import { closeAllCollections, openCollectionAndAcceptSandbox, sendRequest } from '../../utils/page';
|
||||
import { closeAllCollections, openCollection, sendRequest } from '../../utils/page';
|
||||
import { buildCommonLocators } from '../../utils/page/locators';
|
||||
|
||||
test.describe.serial('Dynamic Variable Interpolation', () => {
|
||||
@@ -11,7 +11,7 @@ test.describe.serial('Dynamic Variable Interpolation', () => {
|
||||
const locators = buildCommonLocators(page);
|
||||
|
||||
// Open collection and accept sandbox mode
|
||||
await openCollectionAndAcceptSandbox(page, 'dynamic-variable-interpolation', 'safe');
|
||||
await openCollection(page, 'dynamic-variable-interpolation');
|
||||
|
||||
// Navigate to the request
|
||||
await locators.sidebar.request('set-var-dynamic-variable').click();
|
||||
|
||||
Reference in New Issue
Block a user