🌐 AI搜索 & 代理 主页
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c59d266
Tests: run tests locally with selenium
timmywil Dec 29, 2023
ac4238a
Tests: add github workflow for browserstack
timmywil Jan 27, 2024
569f092
Tests: remove grunt, karma, testswarm, and playwright-webkit
timmywil Feb 10, 2024
c3c385b
Docs: add testing notes to CONTRIBUTING.md
timmywil Feb 14, 2024
a393b14
Build: upgrade all packages except sinon
timmywil Feb 14, 2024
e1ba019
Tests: upgrade QUnit to 2.20.1 and re-enable IE11
timmywil Feb 16, 2024
7c9cad3
Tests: make minor version optional in browser matching
timmywil Feb 16, 2024
ba5a847
Tests: enable non-concurrent BrowserStack workflow on the main branch
timmywil Feb 16, 2024
c029790
fixup! address codeql alerts relevant to this PR
timmywil Feb 16, 2024
ea880a4
fixup! sort browsers by device version last
timmywil Feb 22, 2024
59f3d64
fixup! downgrade husky and rollup and run build on Node 10
timmywil Feb 23, 2024
0a6c3c8
fixup! patch upgrades; make test commands consistent
timmywil Feb 23, 2024
0005d3a
fixup! remove location.origin; use absolute URLs instead
timmywil Feb 23, 2024
2733595
fixup! do a browserstack run
timmywil Feb 23, 2024
65493fa
fixup! split up comment
timmywil Feb 23, 2024
5c6351f
fixup! clarify comment
timmywil Feb 23, 2024
c97ae71
fixup! fix concurrency group name
timmywil Feb 23, 2024
63d848f
fixup! add empty line
timmywil Feb 23, 2024
53534a8
fixup! more PR feedback
timmywil Feb 23, 2024
808cd7c
fixup! we hit a hash collision; use our own hashing for all but moduleId
timmywil Feb 24, 2024
303cd14
fixup! add stop-workers warning
timmywil Feb 24, 2024
47d2a06
fixup! edit browser range
timmywil Feb 24, 2024
4b49601
fixup! call derez
timmywil Feb 24, 2024
d32595e
fixup! more PR feedback
timmywil Feb 24, 2024
95a18fe
fixup! fix local runId
timmywil Feb 24, 2024
abebb78
fixup! add back parentUrl, but use protocol/host; remove mentions of …
timmywil Feb 24, 2024
5253ab9
fixup! try enabling the crossorigin attr test in browserstack
timmywil Feb 24, 2024
280fb6e
fixup! use readable test names; still include each report ID
timmywil Feb 24, 2024
fe9c314
fixup! increase acknowledge timeout for the sake of iOS 15
timmywil Feb 24, 2024
71a09e9
Revert "fixup! try enabling the crossorigin attr test in browserstack"
timmywil Feb 24, 2024
8f6c44e
fixup! fix retries by passing original options
timmywil Feb 24, 2024
8c486f9
fixup! set browserstack branch back to main
timmywil Feb 24, 2024
3d9f544
fixup! use Object.create in listeners
timmywil Feb 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fix retries by passing original options
  • Loading branch information
timmywil committed Feb 24, 2024
commit 8f6c44e3e76adea2013c44dd6960d30ffc0a322d
5 changes: 3 additions & 2 deletions test/runner/browserstack/workers.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ async function waitForAck( id, verbose ) {
export async function runWorker(
url,
browser,
{ modules, reportId, runId, verbose },
options,
restarts = 0
) {
const { modules, reportId, runId, verbose } = options;
const worker = await createWorker( {
...browser,
url: encodeURI( url ),
Expand Down Expand Up @@ -150,7 +151,7 @@ export async function runWorker(
if ( verbose ) {
console.log( `Retrying worker for test ${ reportId }...${ restarts + 1 }` );
}
return runWorker( url, browser, { reportId, runId, verbose }, restarts + 1 );
return runWorker( url, browser, options, restarts + 1 );
}

// Wait for the worker to be acknowledged
Expand Down