chore(testing): update nightly ci to ensure cy is available (#18951)

This commit is contained in:
Caleb Ukle 2023-08-31 14:50:36 -05:00 committed by GitHub
parent 6d686564fa
commit 5146a7c9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,6 +94,7 @@ describe('env vars', () => {
});`
);
if (runE2ETests()) {
// contains the correct output and works
const run1 = runCLI(
`e2e ${myapp}-e2e --no-watch --env.cliArg="i am from the cli args"`
@ -149,6 +150,7 @@ describe('env vars', () => {
expect(run3).toContain('All specs passed!');
expect(await killPort(4200)).toBeTruthy();
}
},
TEN_MINS_MS
);
@ -164,6 +166,7 @@ describe('env vars', () => {
`generate @nx/angular:app ${ngAppName} --e2eTestRunner=cypress --linter=eslint --no-interactive`
);
if (runE2ETests()) {
const results = runCLI(
`run-many --target=e2e --parallel=2 --port=cypress-auto --output-style=stream`
);
@ -174,6 +177,7 @@ describe('env vars', () => {
`node_modules/@nx/cypress/src/executors/cypress/4200.txt`,
`node_modules/@nx/cypress/src/executors/cypress/4201.txt`
);
}
},
TEN_MINS_MS
);