]> source.dussan.org Git - jquery.git/commit
Tests: reuse browser workers in BrowserStack tests (#5428)
authorTimmy Willison <timmywil@users.noreply.github.com>
Tue, 5 Mar 2024 19:44:01 +0000 (14:44 -0500)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2024 19:44:01 +0000 (14:44 -0500)
commit95a4c94b8131b737d8f160c582a4acfe2b65e0f8
tree12f54464d114706be83a5d2742d95cc5ee966c2a
parent2b97b6bbcfc67c234b86d41451aac7cdd778e855
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
19 files changed:
.github/workflows/browserstack.yml
eslint.config.js
package.json
test/data/testinit.js
test/index.html
test/runner/browserstack/api.js
test/runner/browserstack/browsers.js [new file with mode: 0644]
test/runner/browserstack/buildBrowserFromString.js
test/runner/browserstack/queue.js [new file with mode: 0644]
test/runner/browserstack/workers.js [deleted file]
test/runner/command.js
test/runner/createTestServer.js
test/runner/jsdom.js
test/runner/listeners.js
test/runner/queue.js [deleted file]
test/runner/run.js
test/runner/selenium/createDriver.js
test/runner/selenium/queue.js [new file with mode: 0644]
test/runner/selenium/runSelenium.js