niche-tester / playwright-testrail-reporter

Report playwright test results to TestRail
MIT License
7 stars 9 forks source link

Annotations #5

Closed mburns02 closed 1 year ago

mburns02 commented 1 year ago

Huge thank you for creating this. It has saved me loads of time!.

I have made a change locally which may benefit others. Rather than reading the case Id from the title I've changed it to read from an annotation so the test setup looks like

test('dashboard-create @testrail', async ({ page, basePage }) => { test.info().annotations.push({ type: 'Case Link', description: '28283510' }); })

Just a different place to store the Id as we don't want to keep them in the test name.

denisha commented 1 year ago

thanks for this!