forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux: Add support to run multiple tests
- Loading branch information
1 parent
5edd923
commit 78a91b2
Showing
3 changed files
with
53 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!doctype html> | ||
<meta charset=utf-8> | ||
<title>core-aam: blockquote role</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/resources/testdriver.js"></script> | ||
<script src="/resources/testdriver-vendor.js"></script> | ||
<script src="/resources/testdriver-actions.js"></script> | ||
|
||
<body> | ||
<div id=test role=blockquote>quote</div> | ||
|
||
<script> | ||
promise_test(async t => { | ||
const node = await test_driver.get_accessibility_api_node('test'); | ||
|
||
if (node.API == 'atspi') { | ||
assert_equals(node.role, 'block quote', 'Atspi role'); | ||
} | ||
else if (node.API == 'axapi') { | ||
assert_equals(node.role, 'AXGroup', 'AX API role'); | ||
} | ||
else if (node.API == 'windows') { | ||
assert_equals(node.msaa_role, 'ROLE_SYSTEM_GROUPING', 'MSAA Role'); | ||
assert_equals(node.msaa_role, 'IA2_ROLE_BLOCK_QUOTE', 'IA2 Role'); | ||
} | ||
else { | ||
assert_unreached(`Unknown API: ${node.API}`) | ||
} | ||
}, 'role blockquote'); | ||
</script> | ||
</body> |
File renamed without changes.
This file contains 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