feat(browserstack-service): stamp hook_run_uuid on App A11y scans fired inside hooks [APPA11Y-5542]#11
Open
AakashHotchandani wants to merge 2 commits into
Open
feat(browserstack-service): stamp hook_run_uuid on App A11y scans fired inside hooks [APPA11Y-5542]#11AakashHotchandani wants to merge 2 commits into
AakashHotchandani wants to merge 2 commits into
Conversation
…ed inside hooks [APPA11Y-5542] Port of browserstack/wdio-browserstack-service#48 to the webdriverio monorepo copy. The SDK stamps the hook's run UUID (thHookRunUuid) on App A11y scans fired inside a supported hook, so SeleniumHub (appAllyHandler, PR webdriverio#14162) relays it as hook_run_uuid and app-accessibility reconciles the scan onto the wrapping test. Additive; in-test scans unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…rs) [APPA11Y-5542] Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of the App A11y hook-scan change to the webdriverio monorepo copy of
@wdio/browserstack-service(v8 base). Mirrors browserstack/wdio-browserstack-service#48.What
The SDK stamps the hook's run UUID (
thHookRunUuid) on App A11y scans fired inside a supported hook (before/after,beforeEach/afterEach). SeleniumHubappAllyHandler(PR webdriverio#14162) relays it ashook_run_uuid; app-accessibility reconciles the scan onto the wrapping test. Additive — no field ⇒ in-test scan behaviour unchanged.Changes
util.ts—_getParamsForAppAccessibility/performA11yScanthreadthHookRunUuid.insights-handler.ts—getCurrentHook()exposes the HookRunStarted uuid (= hook BTCER uuid).accessibility-handler.ts—beforeHook/afterHookset_currentHookRunUuid+ enable the mocha hook scan gate;commandWrapperpasses it toperformA11yScan.service.ts— wireaccessibilityHandler.beforeHook/afterHook.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
🤖 Generated with Claude Code