Skip to content

Commit

Permalink
Add UICov config clarifications (#6050)
Browse files Browse the repository at this point in the history
* Add UICov config clarifications

* Add views clarification

* Update docs/ui-coverage/configuration/overview.mdx

* Lint

---------

Co-authored-by: Jennifer Shehane <[email protected]>
  • Loading branch information
pstakoun and jennifer-shehane authored Dec 23, 2024
1 parent 6287b55 commit efd4fc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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

0 comments on commit efd4fc8

Please sign in to comment.