diff --git a/.nx/workflows/agents.yaml b/.nx/workflows/agents.yaml index 4b136c16b6..2b00aa184b 100644 --- a/.nx/workflows/agents.yaml +++ b/.nx/workflows/agents.yaml @@ -38,7 +38,7 @@ launch-templates: - name: Install Browsers script: | pnpm exec cypress install - pnpm exec playwright install + pnpm exec playwright install --with-deps - name: Install Rust script: | @@ -95,7 +95,7 @@ launch-templates: - name: Install Browsers script: | pnpm exec cypress install - pnpm exec playwright install + pnpm exec playwright install --with-deps - name: Install Rust script: | diff --git a/e2e/next/src/next.test.ts b/e2e/next/src/next.test.ts index 695c109ca0..5cc90aeaa6 100644 --- a/e2e/next/src/next.test.ts +++ b/e2e/next/src/next.test.ts @@ -184,7 +184,7 @@ describe('Next.js Applications', () => { runCLI(`generate @nx/next:app ${appName} --no-interactive --style=css`); - if (runE2ETests('cypress')) { + if (runE2ETests('playwright')) { const e2eResults = runCLI(`e2e-ci ${appName}-e2e --verbose`, { verbose: true, env: {