agent-js-playwright icon indicating copy to clipboard operation
agent-js-playwright copied to clipboard

Add tags as attributes for tests automatically

Open avillanova opened this issue 5 months ago • 0 comments

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,
};

avillanova avatar Aug 27 '24 17:08 avillanova