Closed Bug 1862534 Opened 11 months ago Closed 10 months ago

Linux accessibility API automated testing

Categories

(Core :: Disability Access APIs, task)

Desktop
Linux
task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

Attachments

(1 file)

Bug 1852190 implemented a framework for Windows accessibility API testing via Python snippets in browser tests. We need to extend this to Linux so we can test our ATK code too.

This adds setup code and utility functions for ATK to the Python environment.
I also needed to prevent front-end accessibility checks (AccessibilityUtils) from force disabling accessibility for a11y engine tests.
Although the tests re-enabled it anyway, this seems to break AT-SPI's interaction with our ApplicationAccessible.
Disabling it really doesn't make sense in this case anyway.
This patch includes a simple role test to show all of this working.

Assignee: nobody → jteh
Status: NEW → ASSIGNED
Blocks: 1862437

For reference, here are some notes about getting this working on CI:

  1. Per the patch, I needed to modify taskcluster/docker/recipes/ubuntu1804-test-system-setup-base.sh to get a new system package installed via apt-get.
  2. On try, this will trigger the docker-image-ubuntu1804-test-base job.
  3. Unfortunately, this fails with a 404 during apt-get update. I asked Glandium and he noted that "you need to trigger docker-image-ubuntu1804-base because its dependencies have expired".
  4. After that, the docker-image-ubuntu1804-test-base job will succeed, though I had to manually add it rather than retriggering.

Eventually, this won't be configured in-tree for tests. Per jmaher's comment:

For the new Ubuntu2204 Wayland, currently this is a VM, but also a lot of tests are not running there yet (will be more as we move into the new year). This would require :aerickson in the relops team to create a new VM image.

Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/925b18f8e3b0 Groundwork for ATK accessibility API tests. r=eeejay,jmaher
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Blocks: 1866936
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: