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

docs: adding ct beta alert box to needed pages #4421

Merged
merged 4 commits into from
Apr 14, 2022
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
10 changes: 10 additions & 0 deletions components/global/CtBetaAlert.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<script>
export default {}
</script>

<template>
<Alert type="warning">
<p><Icon name="exclamation-triangle"></Icon> Component Testing is currently in
beta.</p>
</Alert>
</template>
2 changes: 2 additions & 0 deletions content/api/commands/mount.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ your app.

</Alert>

<CtBetaAlert></CtBetaAlert>

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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: Framework Configuration
---

<CtBetaAlert></CtBetaAlert>

Writing tests in Cypress is the same regardless of whichever UI library you
choose (React or Vue, currently). However, each framework requires a different
setup configuration.
Expand Down
2 changes: 2 additions & 0 deletions content/guides/getting-started/getting-components-to-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
title: Getting Components to Work
---

<CtBetaAlert></CtBetaAlert>

CONTENT TBD
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
title: Rendering Components Correctly
---

<CtBetaAlert></CtBetaAlert>

CONTENT TBD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: Writing Your First Component Test
---

<CtBetaAlert></CtBetaAlert>

<Alert type="info">

## <Icon name="graduation-cap"></Icon> What you'll learn
Expand Down