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:
Pooja
2025-12-18 17:27:38 +05:30
committed by GitHub
parent bc2efb9686
commit 5e6444b8b5
44 changed files with 120 additions and 282 deletions

View File

@@ -25,8 +25,6 @@ test.describe.parallel('Collection Run', () => {
test.setTimeout(2 * 60 * 1000);
await page.getByText('bruno-testbench').click();
await page.getByLabel('Safe Mode').check();
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.getByTestId('collections').locator('.collection-name').filter({ hasText: 'bruno-testbench' });