Skip to content

Commit

Permalink
upgrade to playwright-bdd 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Aug 17, 2023
1 parent f3eaafe commit cae76dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
"watch:bdd": "nodemon -w ./features -w ./steps -e feature,js,ts --exec 'npx bddgen'",
"watch:pw": "playwright test --ui",
"watch": "run-p watch:*",
"report": "npx playwright show-report"
"report": "npx playwright show-report",
"steps": "npx bddgen export"
},
"devDependencies": {
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"playwright-bdd": "^5.1.1"
"playwright-bdd": "^5.2.0"
}
}
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import { defineBddConfig } from 'playwright-bdd';

const testDir = defineBddConfig({
importTestFrom: 'steps/fixtures.ts',
paths: ['features'],
paths: ['./features'],
require: ['steps/*.ts'],
quotes: 'backtick',
featuresRoot: './features',
});

export default defineConfig({
Expand Down

0 comments on commit cae76dc

Please sign in to comment.