diff options
author | Timmy Willison <timmywil@users.noreply.github.com> | 2024-03-05 14:44:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 14:44:01 -0500 |
commit | 95a4c94b8131b737d8f160c582a4acfe2b65e0f8 (patch) | |
tree | 12f54464d114706be83a5d2742d95cc5ee966c2a /test/runner/selenium/createDriver.js | |
parent | 2b97b6bbcfc67c234b86d41451aac7cdd778e855 (diff) | |
download | jquery-95a4c94b8131b737d8f160c582a4acfe2b65e0f8.tar.gz jquery-95a4c94b8131b737d8f160c582a4acfe2b65e0f8.zip |
Tests: reuse browser workers in BrowserStack tests (#5428)
- reuse BrowserStack workers.
- add support for "latest" and "latest-1" in browser version filters
- add support for specifying non-final browser versions, such as beta versions
- more accurate eslint for files in test/runner
- switched `--no-isolate` command flag to `--isolate`. Now that browser instances are shared, it made more sense to me to default to no isolation unless specified. This turned out to be cleaner because the only place we isolate is in browserstack.yml.
- fixed an issue with retries where it wasn't always waiting for the retried test run
- enable strict mode in test yargs command
Diffstat (limited to 'test/runner/selenium/createDriver.js')
-rw-r--r-- | test/runner/selenium/createDriver.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/runner/selenium/createDriver.js b/test/runner/selenium/createDriver.js index 765ebb847..d1680b22d 100644 --- a/test/runner/selenium/createDriver.js +++ b/test/runner/selenium/createDriver.js @@ -55,7 +55,8 @@ export default async function createDriver( { browserName, headless, verbose } ) edgeOptions.addArguments( "--headless=new" ); if ( !browserSupportsHeadless( browserName ) ) { console.log( - `Headless mode is not supported for ${ browserName }. Running in normal mode instead.` + `Headless mode is not supported for ${ browserName }.` + + "Running in normal mode instead." ); } } |