Skip to content

Commit

Permalink
docs: tune reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Sep 10, 2024
1 parent d5eed74 commit 3a2860d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/reporters/cucumber.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import { defineConfig, devices } from '@playwright/test';
import { defineBddConfig, cucumberReporter } from 'playwright-bdd';

const testDir = defineBddConfig({
features: ['features/*.feature'],
steps: ['features/steps/*.ts'],
features: 'features/*.feature',
steps: 'features/steps/*.ts',
}),

export default defineConfig({
Expand Down Expand Up @@ -70,8 +70,8 @@ import { defineConfig } from '@playwright/test';
import { defineBddConfig, cucumberReporter } from 'playwright-bdd';

const testDir = defineBddConfig({
features: ['features/*.feature'],
steps: ['steps/*.ts'],
features: 'features/*.feature',
steps: 'steps/*.ts',
});

export default defineConfig({
Expand Down Expand Up @@ -100,7 +100,7 @@ export default defineConfig({
export default defineConfig({
reporter: [
cucumberReporter('html', {
outputFile: 'cucumber-report/report.html'
outputFile: 'cucumber-report/report.html',
skipAttachments: [ 'video/webm', 'application/zip' ],
}),
],
Expand Down

0 comments on commit 3a2860d

Please sign in to comment.