tzurp / performance-total

This WebdriverIO service is used to analyze performance of any test flow.
16 stars 2 forks source link

Output Directory #12

Closed 1MaJKeL1 closed 3 years ago

1MaJKeL1 commented 3 years ago

Hi,

Could you add the possibility to specify outputDir

Best regards

DM

tzurp commented 3 years ago

@1MaJKeL1, do you mean to specify absolute path or relative?

1MaJKeL1 commented 3 years ago

relative such example

services: [ ['chromedriver'], ['performancetotal', { outputDir: './Results/performance', disableAppendToExistingFile: false, performanceResultsFileName: "performance-results", dropResultsFromFailedTest: false }] ]

tzurp commented 3 years ago

relative such example

services: [ ['chromedriver'], ['performancetotal', { outputDir: './Results/performance', disableAppendToExistingFile: false, performanceResultsFileName: "performance-results", dropResultsFromFailedTest: false }] ]

@1MaJKeL1, please check version 1.0.9-1 (beta) here: https://www.npmjs.com/package/wdio-performancetotal-service/v/1.0.9-1. I added a config property: performanceResultsDirectory (see the Readme for details)

tzurp commented 3 years ago

The feature was added to the Beta version, with no response from the user. Closing the issue.

1MaJKeL1 commented 3 years ago

Hi, I had version 1.0.9 and beta 9-1 it works fine after adding attributes

    performanceResultsDirectory: 'Results/performance',

thanks a lot

Br

MaJKeL