diff --git a/.github/workflows/guidepup.yml b/.github/workflows/guidepup.yml index b02bd2b5c..2509f56b4 100644 --- a/.github/workflows/guidepup.yml +++ b/.github/workflows/guidepup.yml @@ -1,17 +1,44 @@ name: SR automation -# on: -# push: -# branches: -# - master +on: push jobs: voiceover: - name: SR auto + name: auto VO runs-on: macos-latest steps: + - uses: actions/checkout@v4 + - name: Setup Environment - uses: guidepup/setup-action + uses: guidepup/setup-action@main + + - name: Setup Node 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + + - name: Install Dependencies + run: npm install --ci - name: Run test run: node guidepup.test.cjs + + nvda: + name: auto NVDA + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup Environment + uses: guidepup/setup-action@main + + - name: Setup Node 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + + - name: Install Dependencies + run: npm install --ci + + - name: Run test + run: node guidepup.test.nvda.cjs diff --git a/guidepup.test.nvda.cjs b/guidepup.test.nvda.cjs new file mode 100644 index 000000000..d5b87bee7 --- /dev/null +++ b/guidepup.test.nvda.cjs @@ -0,0 +1,12 @@ +const { nvda } = require('@guidepup/guidepup'); + +(async () => { + // Start NVDA. + await nvda.start(); + + // Move to the next item. + await nvda.next(); + + // Stop NVDA. + await nvda.stop(); +})(); diff --git a/packages/ui/components/overlays/src/OverlayController.js b/packages/ui/components/overlays/src/OverlayController.js index fa834fc3e..5f751df9f 100644 --- a/packages/ui/components/overlays/src/OverlayController.js +++ b/packages/ui/components/overlays/src/OverlayController.js @@ -190,6 +190,7 @@ export class OverlayController extends EventTarget { placement: 'center', }, zIndex: 9999, + // _noDialogEl: true, }; /** @protected */