Files
sousa-gecko/testing/web-platform/tests/tools/localpaths.py
T
Valerie Young fe1161da6d Bug 2015982 [wpt PR 57696] - Create new test type aamtest for accessibility API testing, a=testonly
Automatic update from web-platform-tests
Create new test type `aamtest` for accessibility API testing

This PR adds a new test type to test accessibility APIs exposed by browsers, as defined by the [ARIA](https://w3c.github.io/aria/), [Core-AAM](https://w3c.github.io/core-aam/) and [HTML-AAM](https://w3c.github.io/html-aam/) specifications. The now merged RFC can be found [here](https://github.com/web-platform-tests/rfcs/pull/204).

This is a replacement for: https://github.com/web-platform-tests/wpt/pull/53733

Instead of extending testharness, I added a new test type (`aamtest`) that is similar to `wdspec` tests and uses a lot of the same infrastructure. This idea came from foolip in [this comment on the RFC](https://github.com/web-platform-tests/rfcs/pull/204#issuecomment-3655616580), and I think it looks good!

Here is a PR that adds documentation for this test type: https://github.com/web-platform-tests/wpt/pull/58632
--

wpt-commits: 2827ad177da748e8785c6bb3cabc03c8ce6f589b
wpt-pr: 57696
2026-05-12 08:45:36 +00:00

39 lines
2.1 KiB
Python

import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
repo_root = os.path.abspath(os.path.join(here, os.pardir))
sys.path.insert(0, os.path.join(here))
sys.path.insert(0, os.path.join(here, "wptserve"))
sys.path.insert(0, os.path.join(here, "third_party", "pywebsocket3"))
sys.path.insert(0, os.path.join(here, "third_party", "atomicwrites"))
sys.path.insert(0, os.path.join(here, "third_party", "attrs", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "html5lib"))
sys.path.insert(0, os.path.join(here, "third_party", "zipp"))
sys.path.insert(0, os.path.join(here, "third_party", "exceptiongroup", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "more-itertools"))
sys.path.insert(0, os.path.join(here, "third_party", "packaging"))
sys.path.insert(0, os.path.join(here, "third_party", "pathlib2"))
sys.path.insert(0, os.path.join(here, "third_party", "pluggy", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "py"))
sys.path.insert(0, os.path.join(here, "third_party", "pytest"))
sys.path.insert(0, os.path.join(here, "third_party", "pytest", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "pytest-asyncio"))
sys.path.insert(0, os.path.join(here, "third_party", "six"))
sys.path.insert(0, os.path.join(here, "third_party", "typing_extensions"))
sys.path.insert(0, os.path.join(here, "third_party", "webencodings"))
sys.path.insert(0, os.path.join(here, "third_party", "h2", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "hpack", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "hyperframe", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "certifi"))
sys.path.insert(0, os.path.join(here, "third_party", "hyper"))
sys.path.insert(0, os.path.join(here, "third_party", "websockets", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "iniconfig", "src"))
if sys.version_info < (3, 8):
sys.path.insert(0, os.path.join(here, "third_party", "importlib_metadata"))
sys.path.insert(0, os.path.join(here, "webdriver"))
sys.path.insert(0, os.path.join(here, "wptrunner"))
sys.path.insert(0, os.path.join(here, "webtransport"))
sys.path.insert(0, os.path.join(here, "iaccessible2"))