From cbeeaf130fceb743d70d0c2d0bcf5e8b44f096b1 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Tue, 5 Apr 2022 16:16:46 -0600 Subject: [PATCH 1/3] docs: adding ct alert box to needed pages --- components/global/CtBetaAlert.vue | 10 ++++++++++ content/api/commands/mount.md | 2 ++ .../component-framework-configuration.md | 2 ++ .../getting-started/getting-components-to-work.md | 2 ++ .../getting-started/rendering-components-correctly.md | 2 ++ .../writing-your-first-component-test.md | 2 ++ 6 files changed, 20 insertions(+) create mode 100644 components/global/CtBetaAlert.vue diff --git a/components/global/CtBetaAlert.vue b/components/global/CtBetaAlert.vue new file mode 100644 index 0000000000..2b28b57fb8 --- /dev/null +++ b/components/global/CtBetaAlert.vue @@ -0,0 +1,10 @@ + + + diff --git a/content/api/commands/mount.md b/content/api/commands/mount.md index 17e8b760b6..017dade706 100644 --- a/content/api/commands/mount.md +++ b/content/api/commands/mount.md @@ -10,6 +10,8 @@ on how to craft your own. + + For [Component Testing](/guides/overview/choosing-testing-type#What-is-Component-Testing), we recommend creating a custom `cy.mount()` command to wrap the mount command diff --git a/content/guides/getting-started/component-framework-configuration.md b/content/guides/getting-started/component-framework-configuration.md index 4d48fc51f9..cac23cb0b9 100644 --- a/content/guides/getting-started/component-framework-configuration.md +++ b/content/guides/getting-started/component-framework-configuration.md @@ -2,6 +2,8 @@ title: Framework Configuration --- + + Writing tests in Cypress is the same regardless of framework choice (Vue, React, Nuxt, Next, etc.). However, each framework requires additional setup and configuration to run properly. diff --git a/content/guides/getting-started/getting-components-to-work.md b/content/guides/getting-started/getting-components-to-work.md index 74c39bd95c..36b85077bf 100644 --- a/content/guides/getting-started/getting-components-to-work.md +++ b/content/guides/getting-started/getting-components-to-work.md @@ -2,4 +2,6 @@ title: Getting Components to Work --- + + CONTENT TBD diff --git a/content/guides/getting-started/rendering-components-correctly.md b/content/guides/getting-started/rendering-components-correctly.md index a67db5071c..d16982a481 100644 --- a/content/guides/getting-started/rendering-components-correctly.md +++ b/content/guides/getting-started/rendering-components-correctly.md @@ -2,4 +2,6 @@ title: Rendering Components Correctly --- + + CONTENT TBD diff --git a/content/guides/getting-started/writing-your-first-component-test.md b/content/guides/getting-started/writing-your-first-component-test.md index 6c4c9caeaf..944abf3ebd 100644 --- a/content/guides/getting-started/writing-your-first-component-test.md +++ b/content/guides/getting-started/writing-your-first-component-test.md @@ -14,6 +14,8 @@ title: Writing Your First Component Test + + ## Getting Started In order to get the most out of this guide, we recommend that you follow along. From b9130bd457fca0598c658c016315acaa658cebf4 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Thu, 7 Apr 2022 12:24:23 -0600 Subject: [PATCH 2/3] moving beta alert on first test doc --- .../getting-started/writing-your-first-component-test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/guides/getting-started/writing-your-first-component-test.md b/content/guides/getting-started/writing-your-first-component-test.md index 944abf3ebd..36528c1043 100644 --- a/content/guides/getting-started/writing-your-first-component-test.md +++ b/content/guides/getting-started/writing-your-first-component-test.md @@ -2,6 +2,8 @@ title: Writing Your First Component Test --- + + ## What you'll learn @@ -14,8 +16,6 @@ title: Writing Your First Component Test - - ## Getting Started In order to get the most out of this guide, we recommend that you follow along. From 100c1d49c859723226ede51aa64c8a06e7549fc4 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Tue, 12 Apr 2022 13:28:53 -0600 Subject: [PATCH 3/3] Update components/global/CtBetaAlert.vue Co-authored-by: Ben Alman --- components/global/CtBetaAlert.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/global/CtBetaAlert.vue b/components/global/CtBetaAlert.vue index 2b28b57fb8..edcf8592a2 100644 --- a/components/global/CtBetaAlert.vue +++ b/components/global/CtBetaAlert.vue @@ -4,7 +4,7 @@ export default {}