From 94f53d540e2330f75315d3f3a7eaabe6615a7913 Mon Sep 17 00:00:00 2001 From: Harshit Vasu Date: Tue, 1 Jun 2021 14:41:16 +0530 Subject: [PATCH 1/2] Changes to the readme for config file to pick up directory options --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c85ccce..9bbd675 100644 --- a/README.md +++ b/README.md @@ -22,14 +22,11 @@ Add `browserstack` as a reporter in your conf file. ```js // wdio.conf.js module.exports = { - // ... - reporters: ["browserstack"], - reporterOptions: { - browserstack: { - outputDir: "./" - } - } - // ... + // ... + reporters: [['browserstack', { + outputDir: './output_dir' + }]], + // ... }; ``` From 8216b5bbaadafd21b6f7fbbdc692972fefbc641f Mon Sep 17 00:00:00 2001 From: Harshit Vasu Date: Tue, 1 Jun 2021 14:50:03 +0530 Subject: [PATCH 2/2] added information inreadme for output file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9bbd675..623e699 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The following options are supported(optional): ### outputDir -Define a directory where your browserstack report files should get stored. +Define a directory where your browserstack report files should get stored. The report files will be stored in ./output_dir/browserstack-reports Type: `String`