Closed Bug 2072606 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62585 - aamtests: Add support to test events

Categories

(Core :: Disability Access APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62585 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62585
Details from upstream follow.

Manuel Rego Casasnovas <rego@igalia.com> wrote:

aamtests: Add support to test events

This patch adds a new expect_event() method, that allows testing events fired by the accessibility APIs.

So far this method is only implemented in AT-SPI wrapper.

Added a couple of example tests to show how to use this new method. Note that the test event/aria_disabled.py fails one of the checks in Firefox, as it never fires object:state-changed:sensitive event, only object:state-changed:enabled (Chromium passes the test).

PR 62585 applied with additional changes from upstream: 39371374c6d1f4b06c5652ba85cffd80c6689d9b

Component: web-platform-tests → Disability Access APIs
Product: Testing → Core

CI Results

Ran 4 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
PASS : 2

Chrome

OK : 1
PASS : 1
TIMEOUT: 1

Safari

OK : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.