AB

Size: a a a
AB

BO
sendRequest(....) в вашем коде?AB
const request = require("request-promise-native");
async function sendRestRequestWithHeader(opts) {
let options = {
uri: opts.uri,
method: opts.method,
headers: opts.header,
json: true
};
const response = await request(options);
return response;
};
module.exports = sendRestRequestWithHeader;OK
const request = require("request-promise-native");
async function sendRestRequestWithHeader(opts) {
let options = {
uri: opts.uri,
method: opts.method,
headers: opts.header,
json: true
};
const response = await request(options);
return response;
};
module.exports = sendRestRequestWithHeader;AP
AB
AB
AP
AB
OK
const request = require("request-promise-native");
async function sendRestRequestWithHeader(opts) {
let options = {
uri: opts.uri,
method: opts.method,
headers: opts.header,
json: true
};
const response = await request(options);
return response;
};
module.exports = sendRestRequestWithHeader;OK
AB
OK
AB
OK
VS
describe('Suite', ()=> {
using(TEST_FORM_DATA, (dataStep)=> {
describe('Spec', ()=> {
beforeAll(async ()=>{
await test.doit(dataStep);
});
using(dataStep.expect, (data)=> {
it('Тест # '+(i++)+': '+name, async ()=> {
expect().toEqual()
});
});
});
});
});
Дело в том что при генерации тестов для allure не воспринимает Suite. А делает много suite с названиями 'SuiteSpec' Как можно решить?OK
describe('Suite', ()=> {
using(TEST_FORM_DATA, (dataStep)=> {
describe('Spec', ()=> {
beforeAll(async ()=>{
await test.doit(dataStep);
});
using(dataStep.expect, (data)=> {
it('Тест # '+(i++)+': '+name, async ()=> {
expect().toEqual()
});
});
});
});
});
Дело в том что при генерации тестов для allure не воспринимает Suite. А делает много suite с названиями 'SuiteSpec' Как можно решить?VS
m
OK
describe('Suite', ()=> {
using(TEST_FORM_DATA, (dataStep)=> {
describe('Spec', ()=> {
beforeAll(async ()=>{
await test.doit(dataStep);
});
using(dataStep.expect, (data)=> {
it('Тест # '+(i++)+': '+name, async ()=> {
expect().toEqual()
});
});
});
});
});
Дело в том что при генерации тестов для allure не воспринимает Suite. А делает много suite с названиями 'SuiteSpec' Как можно решить?