Closed bmsoko closed 1 month ago
Hey! I see that 2 step files were found by pattern tests/steps/*.ts
:
Resolved step files: 2
tests/steps/api-steps.ts
tests/steps/login-steps.ts
But file with step User logs in
is named as api-login-steps.ts
. Could you share files structure - where is it located?
Closing as there is no response from author. Feel free to reopen if needed.
Hello, Can you please provide example of using playwright's request? I had successfully implemented for UI, and would love to have in the same project API requests, but when I add a
api-login-steps.ts
, the FW seems not to find the step.I've created the following
After executing
npx bddgen --tags '@API' && cross-env ENV=stg npx playwright test
I get the following:
And if I execute with
--verbose
Thank you.