chore(repo): set specific packages to install in testing tools e2e tests (#20759)
This commit is contained in:
parent
6199c20113
commit
3a15b434c2
@ -1,5 +1,4 @@
|
|||||||
import {
|
import {
|
||||||
checkFilesDoNotExist,
|
|
||||||
checkFilesExist,
|
checkFilesExist,
|
||||||
cleanupProject,
|
cleanupProject,
|
||||||
createFile,
|
createFile,
|
||||||
@ -19,7 +18,7 @@ describe('Cypress E2E Test runner', () => {
|
|||||||
const myapp = uniq('myapp');
|
const myapp = uniq('myapp');
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
newProject();
|
newProject({ packages: ['@nx/angular', '@nx/next', '@nx/react'] });
|
||||||
ensureCypressInstallation();
|
ensureCypressInstallation();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ describe('Jest root projects', () => {
|
|||||||
|
|
||||||
describe('angular', () => {
|
describe('angular', () => {
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
newProject();
|
newProject({ packages: ['@nx/angular', '@nx/react'] });
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should test root level app projects', async () => {
|
it('should test root level app projects', async () => {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import {
|
|||||||
|
|
||||||
describe('Jest', () => {
|
describe('Jest', () => {
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
newProject({ name: uniq('proj-jest') });
|
newProject({ name: uniq('proj-jest'), packages: ['@nx/js', '@nx/node'] });
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => cleanupProject());
|
afterAll(() => cleanupProject());
|
||||||
|
|||||||
@ -16,7 +16,10 @@ describe('Playwright E2E Test runner', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
newProject({ name: uniq('playwright') });
|
newProject({
|
||||||
|
name: uniq('playwright'),
|
||||||
|
packages: ['@nx/playwright', '@nx/web'],
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => cleanupProject());
|
afterAll(() => cleanupProject());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user