Files
bruno/tests/import/postman/import-postman-v21.spec.ts
naman-bruno e93e545b81 improve: tests (#6321)
* improve: tests

* fixes

* fixes
2025-12-06 15:36:58 +05:30

18 lines
622 B
TypeScript

import { test } from '../../../playwright';
import * as path from 'path';
import { closeAllCollections, importCollection } from '../../utils/page';
test.describe('Import Postman Collection v2.1', () => {
test.afterEach(async ({ page }) => {
await closeAllCollections(page);
});
test('Import Postman Collection v2.1 successfully', async ({ page, createTmpDir }) => {
const postmanFile = path.resolve(__dirname, 'fixtures', 'postman-v21.json');
await importCollection(page, postmanFile, await createTmpDir('postman-v21-test'), {
expectedCollectionName: 'Postman v2.1 Collection'
});
});
});