Skip to content

feat(testing): add continuous tasks support for jest e2e with node#30675

Merged
Coly010 merged 1 commit intonext-majorfrom
jest/continuous-tasks-for-node
Apr 11, 2025
Merged

feat(testing): add continuous tasks support for jest e2e with node#30675
Coly010 merged 1 commit intonext-majorfrom
jest/continuous-tasks-for-node

Conversation

@Coly010
Copy link
Copy Markdown
Contributor

@Coly010 Coly010 commented Apr 10, 2025

Current Behavior

When generating node projects with an e2e project using Jest, we do not supply any method for the node application to actually be started before running the tests.

Expected Behavior

Using Continuous Tasks, have the e2e project dependOn the serve of the node project such that it is available for the e2e tests to run against it.

@Coly010 Coly010 requested a review from mandarini April 10, 2025 17:27
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Apr 11, 2025 8:58am

@Coly010 Coly010 requested a review from jaysoo April 10, 2025 17:27
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Apr 10, 2025

View your CI Pipeline Execution ↗ for commit 103984a.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-ci ✅ Succeeded 47s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 16s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 48s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-11 12:38:26 UTC

@Coly010 Coly010 force-pushed the jest/continuous-tasks-for-node branch from ecda7fa to 6d68bf1 Compare April 10, 2025 17:29
@Coly010 Coly010 removed request for a team, FrozenPandaz, leosvelperez and vsavkin April 10, 2025 17:29
@Coly010 Coly010 removed the request for review from mandarini April 10, 2025 17:30
@Coly010 Coly010 force-pushed the jest/continuous-tasks-for-node branch from 6d68bf1 to 755352d Compare April 11, 2025 08:53
@Coly010 Coly010 force-pushed the jest/continuous-tasks-for-node branch from 755352d to 103984a Compare April 11, 2025 08:56
@Coly010 Coly010 requested a review from jaysoo April 11, 2025 13:13
@Coly010 Coly010 merged commit 267ecc4 into next-major Apr 11, 2025
12 checks passed
@Coly010 Coly010 deleted the jest/continuous-tasks-for-node branch April 11, 2025 13:22
FrozenPandaz pushed a commit that referenced this pull request Apr 11, 2025
…30675)

## Current Behavior
When generating `node` projects with an `e2e` project using Jest, we do
not supply any method for the node application to actually be started
before running the tests.

## Expected Behavior
Using Continuous Tasks, have the e2e project dependOn the serve of the
`node` project such that it is available for the e2e tests to run
against it.
FrozenPandaz pushed a commit that referenced this pull request Apr 12, 2025
…30675)

## Current Behavior
When generating `node` projects with an `e2e` project using Jest, we do
not supply any method for the node application to actually be started
before running the tests.

## Expected Behavior
Using Continuous Tasks, have the e2e project dependOn the serve of the
`node` project such that it is available for the e2e tests to run
against it.
FrozenPandaz pushed a commit that referenced this pull request Apr 14, 2025
…30675)

## Current Behavior
When generating `node` projects with an `e2e` project using Jest, we do
not supply any method for the node application to actually be started
before running the tests.

## Expected Behavior
Using Continuous Tasks, have the e2e project dependOn the serve of the
`node` project such that it is available for the e2e tests to run
against it.
FrozenPandaz pushed a commit that referenced this pull request Apr 14, 2025
…30675)

## Current Behavior
When generating `node` projects with an `e2e` project using Jest, we do
not supply any method for the node application to actually be started
before running the tests.

## Expected Behavior
Using Continuous Tasks, have the e2e project dependOn the serve of the
`node` project such that it is available for the e2e tests to run
against it.
FrozenPandaz pushed a commit that referenced this pull request Apr 14, 2025
…30675)

## Current Behavior
When generating `node` projects with an `e2e` project using Jest, we do
not supply any method for the node application to actually be started
before running the tests.

## Expected Behavior
Using Continuous Tasks, have the e2e project dependOn the serve of the
`node` project such that it is available for the e2e tests to run
against it.
FrozenPandaz pushed a commit that referenced this pull request Apr 15, 2025
…30675)

## Current Behavior
When generating `node` projects with an `e2e` project using Jest, we do
not supply any method for the node application to actually be started
before running the tests.

## Expected Behavior
Using Continuous Tasks, have the e2e project dependOn the serve of the
`node` project such that it is available for the e2e tests to run
against it.
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants