mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 22:45:25 +00:00
feat(environments): split variables and secrets into separate tabs (#8191)
This commit is contained in:
@@ -7,13 +7,19 @@ import {
|
||||
saveEnvironment,
|
||||
sendRequest,
|
||||
expectResponseContains,
|
||||
closeAllCollections
|
||||
closeAllCollections,
|
||||
deleteAllGlobalEnvironments
|
||||
} from '../../utils/page';
|
||||
import { buildCommonLocators } from '../../utils/page/locators';
|
||||
|
||||
test.describe('Global Environment Create Tests', () => {
|
||||
test.setTimeout(60000);
|
||||
|
||||
test.afterEach(async ({ page }) => {
|
||||
await deleteAllGlobalEnvironments(page);
|
||||
await closeAllCollections(page);
|
||||
});
|
||||
|
||||
test('should import collection and create global environment for request usage', async ({
|
||||
page,
|
||||
createTmpDir
|
||||
@@ -56,9 +62,5 @@ test.describe('Global Environment Create Tests', () => {
|
||||
'"apiToken": "global-secret-token-12345"'
|
||||
]);
|
||||
});
|
||||
|
||||
await test.step('Cleanup', async () => {
|
||||
await closeAllCollections(page);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user