Skip to content

Unify 587 - adding cy.mount api doc #4234

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

Merged
merged 13 commits into from
Dec 10, 2021
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions components/MainContentHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ export default {
e2eSpecific: {
type: Boolean,
required: false,
},
componentSpecific: {
type: Boolean,
required: false,
}
}
}
Expand All @@ -19,5 +23,6 @@ export default {
{{ title }}
</h1>
<E2EOnlyBadge v-if="e2eSpecific" class="mt-4 mb-3" />
<ComponentOnlyBadge v-if="componentSpecific" class="mt-4 mb-3" />
</div>
</template>
12 changes: 12 additions & 0 deletions components/global/CodeGroupVue2Vue3.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<template>
<CodeGroup sync-group="vue2-vue3">
<CodeBlock label="Vue 2" active>
<template #alert><slot name="vue2-alert"></slot></template>
<slot name="vue2"></slot>
</CodeBlock>
<CodeBlock label="Vue 3">
<template #alert><slot name="vue3-alert"></slot></template>
<slot name="vue3"></slot>
</CodeBlock>
</CodeGroup>
</template>
8 changes: 4 additions & 4 deletions content/_data/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@
{
"title": "Rendering Components Correctly",
"slug": "rendering-components-correctly"
},
{
"title": "Creating a cy.mount Command",
"slug": "creating-a-cy-mount-command"
}
]
},
Expand Down Expand Up @@ -572,6 +568,10 @@
"title": "log",
"slug": "log"
},
{
"title": "mount",
"slug": "mount"
},
{
"title": "next",
"slug": "next"
Expand Down
Loading