Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal example to demonstrate issue with subfolders and cucumberReporter #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ npm-debug.log
.env

# tests
test-results
playwright-report
cucumber-report
subfolder/test-results
subfolder/playwright-report
subfolder/cucumber-report
**/.features-gen/**/*.spec.js

.nx
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "playwright-bdd-example",
"version": "0.1.0",
"scripts": {
"test": "npx bddgen && npx playwright test",
"watch:bdd": "nodemon -w ./features -w ./steps -e feature,js,ts --exec \"npx bddgen\"",
"watch:pw": "playwright test --ui",
"test": "npx bddgen --config subfolder/playwright.config.ts && npx playwright test --config subfolder/playwright.config.ts",
"watch:bdd": "nodemon -w ./subfolder/features -w ./subfolder/steps -e feature,js,ts --exec \"npx bddgen --config subfolder/playwright.config.ts\"",
"watch:pw": "playwright test --ui --config subfolder/playwright.config.ts",
"watch": "run-p watch:*"
},
"devDependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.