From db5f03260c06db5f7e169b6e58d0ac3e5389d771 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 06:13:48 +0000 Subject: [PATCH 1/2] chore(deps): Bump the github-actions group across 1 directory with 3 updates Bumps the github-actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-node](https://github.com/actions/setup-node) and [guidepup/setup-action](https://github.com/guidepup/setup-action). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v7.0.0...v7.0.1) Updates `actions/setup-node` from 6 to 7 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v6...v7) Updates `guidepup/setup-action` from 0.20.0 to 0.21.0 - [Release notes](https://github.com/guidepup/setup-action/releases) - [Commits](https://github.com/guidepup/setup-action/compare/5ab89fbb6641406f6f6c91057225f3fb397c2eea...5d19b1151e972898cae0f0cc44e239127953bd90) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: guidepup/setup-action dependency-version: 0.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/publish.yml | 4 ++-- .github/workflows/static.yml | 2 +- .github/workflows/test.yml | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5f26753..fd9fd99 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,8 +18,8 @@ jobs: name: Publish to npm runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7.0.0 - - uses: actions/setup-node@v6 + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-node@v7 with: node-version: 24 registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 1892759..5fa2a32 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7.0.0 + uses: actions/checkout@v7.0.1 - name: Setup Pages uses: actions/configure-pages@v6 - name: Upload artifact diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4f1afa..aeb154e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,8 @@ jobs: name: Web Test Runner runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7.0.0 - - uses: actions/setup-node@v6 + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-node@v7 with: node-version: 24 registry-url: https://registry.npmjs.org/ @@ -25,27 +25,27 @@ jobs: name: Guidepup (macOS) runs-on: macos-latest steps: - - uses: actions/checkout@v7.0.0 - - uses: actions/setup-node@v6 + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-node@v7 with: node-version: 24 registry-url: https://registry.npmjs.org/ cache: npm - run: npm install -g npm@^11.0.0 - run: npm ci - - uses: guidepup/setup-action@5ab89fbb6641406f6f6c91057225f3fb397c2eea + - uses: guidepup/setup-action@5d19b1151e972898cae0f0cc44e239127953bd90 - run: npm run test:guidepup guidepup-windows: name: Guidepup (Windows) runs-on: windows-latest steps: - - uses: actions/checkout@v7.0.0 - - uses: actions/setup-node@v6 + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-node@v7 with: node-version: 24 registry-url: https://registry.npmjs.org/ cache: npm - run: npm install -g npm@^11.0.0 - run: npm ci - - uses: guidepup/setup-action@5ab89fbb6641406f6f6c91057225f3fb397c2eea + - uses: guidepup/setup-action@5d19b1151e972898cae0f0cc44e239127953bd90 - run: npm run test:guidepup From 40528ae65520fbf78630f54b2dd36c8b4b25478f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Jul 2026 18:38:15 +0000 Subject: [PATCH 2/2] test: stabilize VoiceOver startup on macOS --- tests/guidepup/voiceover.spec.mjs | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/tests/guidepup/voiceover.spec.mjs b/tests/guidepup/voiceover.spec.mjs index dac4f8c..c8aeef5 100644 --- a/tests/guidepup/voiceover.spec.mjs +++ b/tests/guidepup/voiceover.spec.mjs @@ -7,6 +7,10 @@ import path from "node:path"; // Pre-requisites: // - Run `defaults write com.apple.VoiceOver4/default SCREnableAppleScript 1` +const voiceOverOptions = { + pollTimeout: 30_000, +}; + const test = baseTest.extend({ context: async ({ context }, run) => { await context.addInitScript({ @@ -30,9 +34,12 @@ const test = baseTest.extend({ }); if (process.platform === "darwin") { + let isVoiceOverStarted = false; + test.beforeAll(async () => { // Start VoiceOver - await voiceOver.start(); + await voiceOver.start(voiceOverOptions); + isVoiceOverStarted = true; }); test.beforeEach(async ({ page }) => { @@ -57,8 +64,14 @@ if (process.platform === "darwin") { }); test.afterAll(async () => { - // Stop VoiceOver - await voiceOver.stop(); + // Stop VoiceOver; suppressing errors + if (!isVoiceOverStarted) { + return; + } + + try { + await voiceOver.stop(voiceOverOptions); + } catch {} }); test("SuggestedText", async ({ page }) => {