agent-js-playwright
agent-js-playwright copied to clipboard
Add tags as attributes for tests automatically
Currently we need to add tags on each test and call ReportPortalApi, would be good to add this by default on src/reporter.ts
const startTestItem: StartTestObjType = {
name: test.title,
startTime: this.client.helpers.now(),
type: TEST_ITEM_TYPES.STEP,
attributes: test.tags
codeRef,
retry: test.results?.length > 1,
};