diff --git a/.github/actions/setup-integration-test/action.yml b/.github/actions/setup-integration-test/action.yml index 7e4a3df1f2..30a5337722 100644 --- a/.github/actions/setup-integration-test/action.yml +++ b/.github/actions/setup-integration-test/action.yml @@ -71,4 +71,4 @@ runs: shell: bash if: runner.os == 'Linux' run: | - sudo echo "127.0.0.1 testsite" | sudo tee -a /etc/hosts \ No newline at end of file + sudo echo "127.0.0.1 testsite" | sudo tee -a /etc/hosts diff --git a/.github/workflows/browser-compatibility-test.yml b/.github/workflows/browser-compatibility-test.yml index b1a8e15f3f..6e65b4658e 100644 --- a/.github/workflows/browser-compatibility-test.yml +++ b/.github/workflows/browser-compatibility-test.yml @@ -1,10 +1,9 @@ name: Browser Compatibility Test on: - schedule: - # More information on cron https://crontab.guru/ - # GitHub actions is using UTC time. Scheduling action at 5 am PST - - cron: '0 13 * * *' + pull_request: + branches: + - main env: SELENIUM_GRID_PROVIDER: saucelabs diff --git a/integration/js/utils/WebdriverSauceLabs.js b/integration/js/utils/WebdriverSauceLabs.js index 440d715636..51e71708f2 100644 --- a/integration/js/utils/WebdriverSauceLabs.js +++ b/integration/js/utils/WebdriverSauceLabs.js @@ -85,6 +85,10 @@ const getChromeOptions = capabilities => { } } + if (capabilities.platform.toUpperCase() === 'LINUX') { + chromeOptions['args'].push('--enable-features=WebRTCPipeWireCapturer') + } + /** * Recently, SauceLabs loads the web page in test and runs into "Your connection is not private" error. * Content share test is also failing with WebSocket connection failed issues which SauceLabs says may