nx/nx-dev/nx-dev-e2e/src/nx-cloud-documentation.spec.ts
Isaac Mann d4f4dac2eb
docs(core): remove on-premise docs (#28730)
Removes the on-premise docs in favor single tenant and the
nrwl/nx-cloud-helm repo
2024-10-31 16:42:56 -04:00

54 lines
1.4 KiB
TypeScript

import { assertTextOnPage } from './helpers';
import { test, expect } from '@playwright/test';
const pages: Array<{ title: string; path: string }> = [
{
title: 'Continuous Integration with Nx',
path: '/ci/intro/ci-with-nx',
},
{
title: 'Recording Non-Nx Commands',
path: '/ci/recipes/other/record-commands',
},
{
title: 'Enable GitHub PR Integration',
path: '/ci/recipes/source-control-integration/github',
},
{
title: 'Connecting Nx Cloud to your existing Google identity provider',
path: '/ci/recipes/security/google-auth',
},
{
title: 'Access Tokens',
path: '/ci/recipes/security/access-tokens',
},
{
title: 'Cache Security',
path: '/ci/concepts/cache-security',
},
{
title: 'Enable End to End Encryption',
path: '/ci/recipes/security/encryption',
},
{
title: 'Configuring the Cloud Runner / Nx CLI',
path: '/ci/reference/config',
},
{
title: 'Environment Variables',
path: '/ci/reference/env-vars',
},
{
title: 'Enterprise Release Notes',
path: '/ci/reference/release-notes',
},
];
/**
* 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.
*/
test.describe('nx-dev: Nx Cloud section', () => {
pages.forEach((page) => assertTextOnPage(page.path, page.title));
});