chore(testing): update nightly ci to ensure cy is available (#18951)
This commit is contained in:
parent
6d686564fa
commit
5146a7c9fb
@ -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
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user