Vitaliy Potapov

Results 102 comments of Vitaliy Potapov

> // this may be fragile For capturing location of particular function in file you can have a look on Playwright's [wrapFunctionWithLocation](https://github.com/microsoft/playwright/blob/fda57978e85037924f4c5b9f35e76c56028f2e47/packages/playwright-test/src/transform/transform.ts#L233) that gets `file`, `line` and `column` using stacktrace...

Until this is implemented I use the following custom fixture `step`: ```ts import { test as base, expect } from '@playwright/test'; type StepFn = (title: string, fn: () => unknown)...