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 {
|
||||
checkFilesDoNotExist,
|
||||
checkFilesExist,
|
||||
cleanupProject,
|
||||
createFile,
|
||||
@ -19,7 +18,7 @@ describe('Cypress E2E Test runner', () => {
|
||||
const myapp = uniq('myapp');
|
||||
|
||||
beforeAll(() => {
|
||||
newProject();
|
||||
newProject({ packages: ['@nx/angular', '@nx/next', '@nx/react'] });
|
||||
ensureCypressInstallation();
|
||||
});
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ describe('Jest root projects', () => {
|
||||
|
||||
describe('angular', () => {
|
||||
beforeAll(() => {
|
||||
newProject();
|
||||
newProject({ packages: ['@nx/angular', '@nx/react'] });
|
||||
});
|
||||
|
||||
it('should test root level app projects', async () => {
|
||||
|
||||
@ -11,7 +11,7 @@ import {
|
||||
|
||||
describe('Jest', () => {
|
||||
beforeAll(() => {
|
||||
newProject({ name: uniq('proj-jest') });
|
||||
newProject({ name: uniq('proj-jest'), packages: ['@nx/js', '@nx/node'] });
|
||||
});
|
||||
|
||||
afterAll(() => cleanupProject());
|
||||
|
||||
@ -16,7 +16,10 @@ describe('Playwright E2E Test runner', () => {
|
||||
});
|
||||
|
||||
beforeAll(() => {
|
||||
newProject({ name: uniq('playwright') });
|
||||
newProject({
|
||||
name: uniq('playwright'),
|
||||
packages: ['@nx/playwright', '@nx/web'],
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(() => cleanupProject());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user