Closed
Description
Given
Example project as basis, but playwright specific files moved into a subfolder.
When
npm test
Then
╰─❯ npm test
> [email protected] test
> npx bddgen --config subfolder/playwright.config.ts && npx playwright test --config subfolder/playwright.config.ts
Running 1 test using 1 worker
1 passed (864ms)
Error in reporter [Error: ENOENT: no such file or directory, open 'features/homepage.feature'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'features/homepage.feature'
}
An empty cucumber-report html file is created.
But I expect
The cucumberReporter not failing by accessing a non-existing file.
Isolated demo
vitalets/playwright-bdd-example#17
Environment
╰─❯ npx bddgen env --config subfolder/playwright.config.ts
Playwright-bdd environment info:
platform: darwin
node: v20.10.0
playwright-bdd: v6.5.0
@playwright/test: v1.42.1
@cucumber/cucumber: v10.3.1
Playwright config file: subfolder/playwright.config.ts