docs: 🐛 Fix Cypress test wrapper

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2022-01-13 15:42:13 +01:00
parent b69866b7f9
commit 707a3f0a4c

View File

@ -185,9 +185,11 @@ function DocPage(props) {
currentDocRoute={currentDocRoute}
versionMetadata={versionMetadata}
sidebarName={sidebarName}>
{renderRoutes(docRoutes, {
versionMetadata,
})}
<div data-cy="cy-doc-content">
{renderRoutes(docRoutes, {
versionMetadata,
})}
</div>
</DocPageContent>
</DocsSidebarProvider>
</DocsVersionProvider>