From 3a2860d81a0322044f01716742fd7d9fa0bfbeb4 Mon Sep 17 00:00:00 2001 From: Vitaliy Potapov Date: Tue, 10 Sep 2024 18:41:23 +0400 Subject: [PATCH] docs: tune reporters --- docs/reporters/cucumber.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reporters/cucumber.md b/docs/reporters/cucumber.md index c12d672d..c9741d6d 100644 --- a/docs/reporters/cucumber.md +++ b/docs/reporters/cucumber.md @@ -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({ @@ -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({ @@ -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' ], }), ],