Vitaliy Potapov

Results 460 comments of Vitaliy Potapov

Okay! So, would this output be acceptable in your case? ``` ✓ 1 .features-gen/homepage.feature.spec.js:6:7 › Resource Links › Resource … displayed › Activating the format validation (1.1s) ```

I've created an issue in the Playwright repo: https://github.com/microsoft/playwright/issues/35204 Let's wait for the thoughts from the PW team.

Hi @AndyN27, I assume you are using [agent-js-playwright](https://github.com/reportportal/agent-js-playwright) for ReportPortal integration. Then you should set `includeTestSteps: true` in the `RPconfig` to show the steps. I've checked with the example project,...

From the user's side the behavior is a bit inconsistent. I can wrap into steps some parts of fixture setup, but can't wrap into steps the fixture teardown. The use-case...

Hey @Deepa-Mahesh-P , interesting approach. Maybe providing a programmatic API for playwright-bdd would be better than exporting commands? E.g. ```ts import { playwrightBdd } from 'playwright-bdd'; await playwrightBdd.gen(); ``` Could...

Thanks for the idea! Totally agree, I’ll add it in the next release.

Released in v8.4.2. https://vitalets.github.io/playwright-bdd/#/writing-steps/decorators?id=multiple-decorators-per-method Please, check in your projects. Feel free to re-open in case of any issues.

Interesting.. I've run your example and it shows correct location: ![image](https://github.com/user-attachments/assets/277c49e5-20d9-4d44-9d33-0439f6c43283) Possibly some Win vs OSX issue. Could you try to run pure Playwright test that throws such error?

@UncleGus I've simplified playwright-bdd-example - kept only one step, removed cucumber reporter and added non-bdd project. Could you try to clone and run [`incorrect-fail-line`](https://github.com/vitalets/playwright-bdd-example/tree/incorrect-fail-line) branch? Here is the PR to...

> A colleague cloned the repo and had the exact same issue, so whatever the cause is, it's not specific to my laptop. I will think how to debug that...