Hi Niharika,
Thanks for getting back to me. I had envisioned it working something like the following:
Given I have a test case with steps something like:
Add item to list
- Step 1: goto list page
- Step 2: click add item
- Step 3: add item details
- Step 4: click add
- Step 5: check list contains new item
In the playwright test I would then have:
test('Add item to list', { tag: '@PRJ-TC-1' }, async ({ page }) => {
await test.step('Step 1: goto list page', async () => {
// ...
});
await test.step('Step 2: click add item', async () => {
// ...
});
// etc...
});
I did try writing my own test reporter based on your aiotests-playwright-reporter but couldn't get the API call to record test step info correctly. But it does at least seem like it should be possible