feat(environments): split variables and secrets into separate tabs (#8191)

This commit is contained in:
Pooja
2026-06-26 12:21:58 +05:30
committed by GitHub
parent 1ceea0797e
commit d6e17e1dab
32 changed files with 1129 additions and 307 deletions

View File

@@ -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);
});
});
});