nx/nx-dev/nx-dev-e2e/src/e2e/nx-cloud-documentation.cy.ts
2023-07-05 08:29:35 -04:00

88 lines
2.3 KiB
TypeScript

import { assertTextOnPage } from './helpers';
/**
* Asserting all the additional API references pages are accounted for and accessible.
* Generation of the pages is manual since we want to make sure the change is intended.
*/
describe('nx-dev: Nx Cloud section', () => {
(<{ title: string; path: string }[]>[
{ title: 'What is Nx Cloud?', path: '/nx-cloud/intro/what-is-nx-cloud' },
{
title: 'Recording Non-Nx Commands',
path: '/nx-cloud/set-up/record-commands',
},
{
title: 'Enable GitHub PR Integration',
path: '/nx-cloud/set-up/github',
},
{
title: 'User Management',
path: '/nx-cloud/account/users',
},
{
title: 'Connecting Nx Cloud to your existing Google identity provider',
path: '/nx-cloud/account/google-auth',
},
{
title: 'Access Tokens',
path: '/nx-cloud/account/access-tokens',
},
{
title: 'Security Scenarios',
path: '/nx-cloud/account/scenarios',
},
{
title: 'End to End Encryption',
path: '/nx-cloud/account/encryption',
},
{
title: 'Running Nx Cloud Enterprise',
path: '/nx-cloud/private-cloud/get-started',
},
{
title: 'Auth (Basic)',
path: '/nx-cloud/private-cloud/auth-single-admin',
},
{
title: 'GitHub Auth',
path: '/nx-cloud/private-cloud/auth-github',
},
{
title: 'GitLab Auth',
path: '/nx-cloud/private-cloud/auth-gitlab',
},
{
title: 'Setting up a dedicated NxCloud VM',
path: '/nx-cloud/private-cloud/ami-setup',
},
{
title: 'BitBucket Auth',
path: '/nx-cloud/private-cloud/auth-bitbucket',
},
{
title: 'SAML Auth',
path: '/nx-cloud/private-cloud/auth-saml',
},
{
title: 'Advanced Configuration',
path: '/nx-cloud/private-cloud/advanced-config',
},
{
title: 'Configuring the Cloud Runner / Nx CLI',
path: '/nx-cloud/reference/config',
},
{
title: 'Environment Variables',
path: '/nx-cloud/reference/env-vars',
},
{
title: 'Nx Cloud Server API Reference',
path: '/nx-cloud/reference/server-api',
},
{
title: 'nx-cloud - Release notes',
path: '/nx-cloud/reference/release-notes',
},
]).forEach((page) => assertTextOnPage(page.path, page.title));
});