-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install macOS AT Driver server from npm (#33)
* Install macOS AT Driver server from npm This package was published to npm today, and the latest version includes a recent fix for issues with simulating pressing of the "Shift" key. * fixup! Install macOS AT Driver server from npm * fixup! Install macOS AT Driver server from npm
- Loading branch information
1 parent
4fb22e8
commit e82beed
Showing
3 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,13 +45,20 @@ on: | |
The browser to use for testing, "chrome" or "firefox" or "safari", default "safari" | ||
required: false | ||
type: string | ||
at_driver_server_version: | ||
description: | | ||
The version or version range of the macOS AT Driver server to install from npm | ||
required: false | ||
type: string | ||
default: "~0.0.6" | ||
|
||
env: | ||
ARIA_AT_WORK_DIR: ${{ inputs.work_dir || 'tests/alert' }} | ||
ARIA_AT_CALLBACK_URL: ${{ inputs.callback_url }} | ||
ARIA_AT_STATUS_URL: ${{ inputs.status_url }} | ||
ARIA_AT_CALLBACK_HEADER: ${{ inputs.callback_header || 'x-header-param:empty' }} | ||
BROWSER: ${{ inputs.browser || 'safari' }} | ||
AT_DRIVER_SERVER_VERSION: ${{ inputs.at_driver_server_version }} | ||
|
||
jobs: | ||
voiceover-test: | ||
|
@@ -64,13 +71,6 @@ jobs: | |
if: inputs.status_url | ||
run: ./report-status.sh QUEUED '' | ||
|
||
- uses: robinraju/[email protected] | ||
with: | ||
repository: "w3c/aria-at-automation-driver" | ||
tag: "v0.0.1-beta" | ||
extract: true | ||
out-file-path: aria-at-automation-driver | ||
|
||
- name: Use Node.js 20.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -95,18 +95,17 @@ jobs: | |
- name: Setup Environment | ||
uses: guidepup/[email protected] | ||
|
||
- name: "automation-driver: npm install" | ||
working-directory: aria-at-automation-driver/package | ||
run: npm install | ||
- name: Install the macOS AT Driver server package | ||
run: npm install @bocoup/macos-at-driver-server@"${AT_DRIVER_SERVER_VERSION}" | ||
|
||
- name: "automation-driver: install" | ||
- name: Configure the system to support the AT Driver server | ||
env: | ||
DEBUG: "*" | ||
working-directory: aria-at-automation-driver/package | ||
run: ./bin/at-driver install --unattended | ||
working-directory: node_modules/.bin | ||
run: ./at-driver install --unattended | ||
|
||
- name: Wait for server to be ready | ||
working-directory: aria-at-automation-driver/package | ||
- name: Wait for the AT Driver server to be ready | ||
working-directory: node_modules/.bin | ||
run: ../../wait-for-server.sh | ||
|
||
- name: Checkout aria-at ref ${{ inputs.aria_at_ref || 'master' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters