Skip to content

Commit

Permalink
test: rename reporter-merge -> reporter-cucumber-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Mar 31, 2024
1 parent 006f899 commit 6b61b0f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ blob-report
/test/**/report.*
/test/**/actual-reports

/test/reporter-merge/features
/test/reporter-merge/check-report
/test/reporter-merge/.features-gen/features/sample.feature.spec.js-snapshots
/test/reporter-cucumber-merge/features
/test/reporter-cucumber-merge/check-report
/test/reporter-cucumber-merge/.features-gen/features/sample.feature.spec.js-snapshots
1 change: 1 addition & 0 deletions lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
// run tests only on smoke dirs + changed test dirs
const testDirs = [...new Set([...getSmokeTestDirs(), ...extractTestDirs(changedFiles)])];
return `npm run only ${testDirs.join(' ')}`;
// return `npm test`;
},
],
'**/*.feature': 'node scripts/no-only-in-features.mjs',
Expand Down
3 changes: 1 addition & 2 deletions test/component-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"description": "This file is required for Playwright to consider this dir as a <package-json dir>. It ensures to load 'playwright-bdd' from './test/node_modules/playwright-bdd' and output './test-results' here to avoid conficts.",
"smoke": true
"description": "This file is required for Playwright to consider this dir as a <package-json dir>. It ensures to load 'playwright-bdd' from './test/node_modules/playwright-bdd' and output './test-results' here to avoid conficts."
}
1 change: 1 addition & 0 deletions test/reporter-cucumber-html/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const testDir = defineBddConfig({

export default defineConfig({
testDir,
fullyParallel: true,
reporter: [
['dot'],
cucumberReporter('message', { outputFile: 'actual-reports/message.ndjson' }),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"description": "This file is required for Playwright to consider this dir as a <package-json dir>. It ensures to load 'playwright-bdd' from './test/node_modules/playwright-bdd' and output './test-results' here to avoid conficts.",
"smoke": true
"description": "This file is required for Playwright to consider this dir as a <package-json dir>. It ensures to load 'playwright-bdd' from './test/node_modules/playwright-bdd' and output './test-results' here to avoid conficts."
}
File renamed without changes.
File renamed without changes.

0 comments on commit 6b61b0f

Please sign in to comment.