Skip to content

Commit

Permalink
Call test runner directly from host process (#62)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
ChrisC and jugglinmike authored Aug 12, 2024
1 parent ee6b7f1 commit 952bd8d
Show file tree
Hide file tree
Showing 30 changed files with 273 additions and 1,470 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Firefox, execute the following command in a terminal:
$ node aria-at-automation-harness/bin/host.js run-plan \
--plan-workingdir aria-at/build/tests/horizontal-slider \
'{reference/**,test-*-nvda.*}' \
--agent-web-driver-url=http://127.0.0.1:4444 \
--agent-at-driver-url=ws://127.0.0.1:4382/session \
--web-driver-url=http://127.0.0.1:4444 \
--at-driver-url=ws://127.0.0.1:4382/session \
--reference-hostname=127.0.0.1 \
--agent-web-driver-browser=firefox
--web-driver-browser=firefox
```

## [aria-at-automation](https://github.com/w3c/aria-at-automation)
Expand Down
4 changes: 0 additions & 4 deletions bin/agent.js

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"test": "npm run test:types && npm run test:unit",
"test:types": "tsc",
"test:unit": "ava",
"test:update": "ava --update-snapshots",
"postinstall": "husky install"
},
"lint-staged": {
Expand Down
58 changes: 0 additions & 58 deletions src/agent/README.md

This file was deleted.

Loading

0 comments on commit 952bd8d

Please sign in to comment.