From efd4fc8379006cbb41821d2cfba131ff9a7976c0 Mon Sep 17 00:00:00 2001 From: Peter Stakoun Date: Mon, 23 Dec 2024 13:09:47 -0500 Subject: [PATCH] Add UICov config clarifications (#6050) * Add UICov config clarifications * Add views clarification * Update docs/ui-coverage/configuration/overview.mdx * Lint --------- Co-authored-by: Jennifer Shehane --- docs/ui-coverage/configuration/elementfilters.mdx | 5 ++++- docs/ui-coverage/configuration/overview.mdx | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/ui-coverage/configuration/elementfilters.mdx b/docs/ui-coverage/configuration/elementfilters.mdx index 7e749ea9ba..ee2a13261d 100644 --- a/docs/ui-coverage/configuration/elementfilters.mdx +++ b/docs/ui-coverage/configuration/elementfilters.mdx @@ -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 diff --git a/docs/ui-coverage/configuration/overview.mdx b/docs/ui-coverage/configuration/overview.mdx index 3333e1f0f7..c96638b5a3 100644 --- a/docs/ui-coverage/configuration/overview.mdx +++ b/docs/ui-coverage/configuration/overview.mdx @@ -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