Skip to content

Commit 952bd8d

Browse files
ChrisCjugglinmike
andauthored
Call test runner directly from host process (w3c#62)
* first pass at calling test runner directly from host * creates test runner directly in host/main * [minor] more times option merge cleanup * adds agent messages+templates to host logger * adds more agent messages to host process * adds back missing agent logs to test plan log records * updates snapshot tests * fixes types * updates snapshots (take 2) * removes agent files and naming scheme * updates log messages * coerces server baseUrl into JS URL * Update src/host/README.md Co-authored-by: jugglinmike <[email protected]> * leaks promise resolver instead of event emitter to stop drivers. * [cleanup] removes additional agent logs * [minor] add logs when drivers are stopped * removes mock runner config options * adds STOP_DRIVER logs (🎬 take 2) --------- Co-authored-by: jugglinmike <[email protected]>
1 parent ee6b7f1 commit 952bd8d

30 files changed

+273
-1470
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ Firefox, execute the following command in a terminal:
4848
$ node aria-at-automation-harness/bin/host.js run-plan \
4949
--plan-workingdir aria-at/build/tests/horizontal-slider \
5050
'{reference/**,test-*-nvda.*}' \
51-
--agent-web-driver-url=http://127.0.0.1:4444 \
52-
--agent-at-driver-url=ws://127.0.0.1:4382/session \
51+
--web-driver-url=http://127.0.0.1:4444 \
52+
--at-driver-url=ws://127.0.0.1:4382/session \
5353
--reference-hostname=127.0.0.1 \
54-
--agent-web-driver-browser=firefox
54+
--web-driver-browser=firefox
5555
```
5656

5757
## [aria-at-automation](https://github.com/w3c/aria-at-automation)

bin/agent.js

-4
This file was deleted.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"test": "npm run test:types && npm run test:unit",
3333
"test:types": "tsc",
3434
"test:unit": "ava",
35+
"test:update": "ava --update-snapshots",
3536
"postinstall": "husky install"
3637
},
3738
"lint-staged": {

src/agent/README.md

-58
This file was deleted.

0 commit comments

Comments
 (0)