Skip to content

Commit

Permalink
chore: upgrade SauceLabs launcher to the latest version (#8573) (#8614)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Feb 3, 2025
1 parent 2d5d767 commit e375c8f
Show file tree
Hide file tree
Showing 3 changed files with 732 additions and 1,160 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.13.0",
"@web/test-runner-visual-regression": "^0.10.0",
"axios": "^1.4.0",
"dotenv": "^16.0.3",
Expand Down
6 changes: 6 additions & 0 deletions wtr-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,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 Expand Up @@ -289,6 +294,7 @@ const createVisualTestsConfig = (theme, browserVersion) => {
browserName: 'chrome',
platformName: 'Windows 10',
browserVersion,
'wdio:enforceWebDriverClassic': true,
}),
],
plugins: [
Expand Down
Loading

0 comments on commit e375c8f

Please sign in to comment.