Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UICov config clarifications #6050

Merged
merged 5 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/ui-coverage/configuration/elementfilters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ An array of objects used to specify elements to exclude from UI Coverage. _**Eac

_Required._ String (CSS Selector)

Used to match elements.
A CSS selector used to identify elements.

- Supports all standard CSS selector syntax including IDs, classes, attributes, and combinators
- The selector matches exactly what is specified - for example, `#container` matches the container element itself, while `#container *` matches all elements within the container

### include

Expand Down
2 changes: 1 addition & 1 deletion docs/ui-coverage/configuration/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ You can use the provided editor to write configuration in JSON format. A complet
}
```

Note that the root-level App Quality configuration properties (`elementFilters`, `views`, and `viewFilters`) impact both UI Coverage and Accessibility.
Note that the root-level properties `elementFilters` and `viewFilters` apply to both UI Coverage and Accessibility. These properties can also be nested under `uiCoverage` or `accessibility` to apply to only that product, with nested configuration taking precedence over root-level configuration. The `views` property also applies to both products but cannot be nested.

### Viewing Configuration for a Run

Expand Down