You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m running tests in parallel using -parallel attribute. And am using report portal https://github.com/reportportal/agent-js-mocha to publish the results.
Tests were running in parallel until i used this addattributes (tag ) feature of report portal. Example:
now if i use this PublicReportingAPI.addAttributes([{ value: 'testAttr2' }]);, then tests don't tun in parallel mode and if i remove this, tests run in parallel mode.
The text was updated successfully, but these errors were encountered:
m running tests in parallel using -parallel attribute. And am using report portal https://github.com/reportportal/agent-js-mocha to publish the results.
Tests were running in parallel until i used this addattributes (tag ) feature of report portal. Example:
const PublicReportingAPI = require('@reportportal/agent-js-mocha/lib/publicReportingAPI');
...
describe('suite',()=>{
before(function (){
PublicReportingAPI.addAttributes([{ key: 'suiteAttr1Key', value: 'suiteAttr1Value' }, { value: 'suiteAttr2' }]);
});
it('test', () => {
PublicReportingAPI.addAttributes([{ key: 'testAttr1Key', value: 'testAttr1Value' }]);
PublicReportingAPI.addAttributes([{ value: 'testAttr2' }]);
});
});
now if i use this PublicReportingAPI.addAttributes([{ value: 'testAttr2' }]);, then tests don't tun in parallel mode and if i remove this, tests run in parallel mode.
The text was updated successfully, but these errors were encountered: