fix smoketests

fixes #37603
This commit is contained in:
Joao Moreno
2017-12-08 10:56:20 +01:00
parent 12fb325e03
commit d8989c9596
8 changed files with 53 additions and 27 deletions

View File

@@ -195,7 +195,7 @@ async function setup(): Promise<void> {
* @see https://github.com/webdriverio/webdriverio/issues/2076
*/
// Filter out the following messages:
const wdioDeprecationWarning = /^WARNING: the "\w+" command will be depcrecated soon./; // [sic]
const wdioDeprecationWarning = /^WARNING: the "\w+" command will be deprecated soon../; // [sic]
// Monkey patch:
const warn = console.warn;
console.warn = function suppressWebdriverWarnings(message) {