-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update
ByRole
options type definitions to include hidden
etc
- Loading branch information
Showing
4 changed files
with
49 additions
and
25 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
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
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 |
---|---|---|
@@ -1,22 +1,30 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<h1 data-new-id="first-level-header">Hello h1</h1> | ||
<h2 data-id="second-level-header">Hello h2</h2> | ||
<img alt="Image A" src="" /> | ||
<input type="text" data-testid="testid-text-input" /> | ||
<label for="label-text-input" data-testid="testid-label">Label A</label> | ||
<input id="label-text-input" type="text" /> | ||
|
||
<body> | ||
<h1 data-new-id="first-level-header">Hello h1</h1> | ||
<h2 data-id="second-level-header">Hello h2</h2> | ||
<img alt="Image A" src=""> | ||
<input type="text" data-testid="testid-text-input"> | ||
<label for="label-text-input" data-testid="testid-label">Label A</label> | ||
<input id="label-text-input" type="text"> | ||
<button role="button">getByRole Test</button> | ||
<div id="scoped"> | ||
<h3>Hello h3</h3> | ||
</div> | ||
|
||
<button role="button">getByRole Test</button> | ||
<div id="scoped"> | ||
<h3>Hello h3</h3> | ||
</div> | ||
|
||
<table role="presentation"> | ||
<td>Layout table</td> | ||
</table> | ||
</body> | ||
<table role="presentation"> | ||
<td>Layout table</td> | ||
</table> | ||
|
||
<svg | ||
aria-hidden="true" | ||
role="img" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 512 512" | ||
> | ||
<path d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z" /> | ||
</svg> | ||
</body> | ||
</body> | ||
</html> |
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