From d05f2208b74888f38fd4030a7dc1e34099d72482 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Wed, 13 Nov 2024 12:25:33 -0500 Subject: [PATCH] Add get started page for AQ products (#6000) * Add get-started page for AQ products * Update setup.mdx Change btn to indigo color * Update setup.mdx Changed button to indigo * Update new buttons to 'indigo' instead of 'purple' --------- Co-authored-by: Ryan Wilke --- .../get-started/introduction.mdx | 4 +- docs/accessibility/get-started/setup.mdx | 52 +++++++++++++++++ docs/cloud/get-started/introduction.mdx | 2 +- docs/ui-coverage/get-started/introduction.mdx | 4 +- docs/ui-coverage/get-started/setup.mdx | 57 +++++++++++++++++++ src/components/button/index.tsx | 2 +- src/css/markdown.scss | 6 +- 7 files changed, 120 insertions(+), 7 deletions(-) create mode 100644 docs/accessibility/get-started/setup.mdx create mode 100644 docs/ui-coverage/get-started/setup.mdx diff --git a/docs/accessibility/get-started/introduction.mdx b/docs/accessibility/get-started/introduction.mdx index ce4dcd55c8..e4e1f1ae81 100644 --- a/docs/accessibility/get-started/introduction.mdx +++ b/docs/accessibility/get-started/introduction.mdx @@ -15,7 +15,7 @@ Looking for a general guide for Accessibility testing in Cypress App? [Go here]( + +## 2. Record a run + +Cypress Accessibility generates reports using [Test Replay](/cloud/features/test-replay) data and requires Cypress v13+. No additional configuration or instrumentation is required to get started. + +[Record a run](/cloud/get-started/setup) to the Cypress Cloud with Test Replay to start using Cypress Accessibility. + +## 3. View your Accessibility results + +After recording a test run, you can view your Accessibility results in the Cypress Cloud via the **Accessibility** tab. + + + +## 4. Customize your results + +Cypress Accessibility provides flexible configuration options to customize your reports. You can configure: + +- [Element filters](/accessibility/configuration/elementfilters): specify selectors for elements that should be excluded from Accessibility scans +- [View filters](/accessibility/configuration/viewfilters): specify URL patterns for URLs that should be excluded from Accessibility scans. Excluding a URL also excludes all links to that URL. +- [Views](/accessibility/configuration/views): specify URL patterns that represent views + +To add or modify the configuration for your project, navigate to the **App Quality** tab in your project settings. + + diff --git a/docs/cloud/get-started/introduction.mdx b/docs/cloud/get-started/introduction.mdx index 2a38c00942..46895f0ea9 100644 --- a/docs/cloud/get-started/introduction.mdx +++ b/docs/cloud/get-started/introduction.mdx @@ -10,7 +10,7 @@ Cypress Cloud unlocks the full potential of Cypress test automation tools in you + +## 2. Record a run + +UI Coverage generates reports using [Test Replay](/cloud/features/test-replay) data and requires Cypress v13+. No additional configuration or instrumentation is required to start using UI Coverage. + +[Record a run](/cloud/get-started/setup) to the Cypress Cloud with Test Replay to start using UI Coverage. + +## 3. View your UI Coverage results + +After recording a test run, you can view your UI Coverage results in the Cypress Cloud via the **UI Coverage** tab. + + + +## 4. Customize your results + +UI Coverage provides flexible configuration options to customize your reports. You can configure: + +- [Attribute filters](/ui-coverage/configuration/attributefilters): specify patterns for attributes and their values that should not be used for identifying and grouping elements +- [Element filters](/ui-coverage/configuration/elementfilters): specify selectors for elements that should be excluded from UI Coverage +- [Element groups](/ui-coverage/configuration/elementgroups): groups elements that are related to one another +- [Elements](/ui-coverage/configuration/elements): specify selectors to uniquely identify elements +- [Significant Attributes](/ui-coverage/configuration/significantattributes): prioritize the identification and grouping of specific attributes +- [View filters](/ui-coverage/configuration/viewfilters): specify URL patterns for URLs that should be excluded from UI Coverage. Excluding a URL also excludes all links to that URL. +- [Views](/ui-coverage/configuration/views): specify URL patterns that represent views + +To add or modify the configuration for your project, navigate to the **App Quality** tab in your project settings. + + diff --git a/src/components/button/index.tsx b/src/components/button/index.tsx index c9bf96ade5..3c9f02d5d5 100644 --- a/src/components/button/index.tsx +++ b/src/components/button/index.tsx @@ -22,7 +22,7 @@ interface BtnProps { // Build the Button component with the specified props const Btn: React.FC = ({ size = 32, // The size of the button - variant = 'outline-purple', // The variant of the button + variant = 'outline-indigo', // The variant of the button disabled = false, // Whether the button should be disabled target = '_self', // The target of the button link className, // Custom classes for the button diff --git a/src/css/markdown.scss b/src/css/markdown.scss index 0620b0044f..5324d62941 100644 --- a/src/css/markdown.scss +++ b/src/css/markdown.scss @@ -70,10 +70,10 @@ div.markdown { color: white; } - &.border-purple-500:hover { - color: var(--ifm-color-purple-600); + &.border-indigo-500:hover { + color: var(--ifm-color-indigo-600); - &.bg-purple-500 { + &.bg-indigo-500 { color: white; } }