Skip to content

Commit

Permalink
chore: upgrade SauceLabs launcher to the version based on Webdriver 9
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Jan 28, 2025
1 parent 4453858 commit 401ef7c
Show file tree
Hide file tree
Showing 3 changed files with 648 additions and 728 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@web/test-runner": "^0.19.0" ,
"@web/test-runner-playwright": "^0.11.0",
"@web/test-runner-puppeteer": "^0.17.0",
"@web/test-runner-saucelabs": "^0.11.2",
"@web/test-runner-saucelabs": "^0.12.0",
"@web/test-runner-visual-regression": "^0.10.0",
"axios": "^1.4.0",
"dotenv": "^16.0.3",
Expand Down
5 changes: 5 additions & 0 deletions wtr-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const HIDDEN_WARNINGS = [
const filterBrowserLogs = (log) => {
const message = log.args[0];

// Filter out webdriver debug output
if (log.type === 'debug' && message.startsWith('[WDIO]')) {
return false;
}

const isHidden = HIDDEN_WARNINGS.some((warning) => {
if (warning instanceof RegExp && warning.test(message)) {
return true;
Expand Down
Loading

0 comments on commit 401ef7c

Please sign in to comment.