From f46c0fe89fb8d67a91df709fe94ba4bcdae69513 Mon Sep 17 00:00:00 2001 From: carlos-gva Date: Tue, 9 Apr 2019 13:44:57 +0100 Subject: [PATCH] wdio-cli: fix typo (#3828) ## Proposed changes Replace log string `tests` by `test suites` on stdout. ## Types of changes - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) ## Checklist - [x] I have read the [CONTRIBUTING](https://github.com/webdriverio/webdriverio/blob/master/CONTRIBUTING.md) doc - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added necessary documentation (if appropriate) ### Reviewers: @webdriverio/technical-committee --- packages/wdio-cli/src/interface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wdio-cli/src/interface.js b/packages/wdio-cli/src/interface.js index 7cbf8d413d2..9a75e4409eb 100644 --- a/packages/wdio-cli/src/interface.js +++ b/packages/wdio-cli/src/interface.js @@ -236,10 +236,10 @@ export default class WDIOCLInterface extends EventEmitter { if (runningJobs > MAX_RUNNING_JOBS_DISPLAY_COUNT) { logString.push( runningJobs - MAX_RUNNING_JOBS_DISPLAY_COUNT, - 'running tests' + (pendingJobs ? ' -' : '')) + 'running test suites' + (pendingJobs ? ' -' : '')) } if (pendingJobs) { - logString.push(pendingJobs, 'pending tests') + logString.push(pendingJobs, 'pending test suites') } this.display.push(chalk.yellow('...', ...logString.filter(l => Boolean(l)))) }