Skip to content

fix(testing): walk all project deps to check if CT project is used in buildTarget #15252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

barbados-clemens
Copy link
Contributor

@barbados-clemens barbados-clemens commented Feb 24, 2023

Current Behavior

being more than 1 node away from the defined 'buildTarget' would not allows assets/scripts/styles to be included in the dynamic project config that angular CT creates for cypress.

Expected Behavior

The CT plugin walks all the deps from the buildTarget project to check if the CT project is being used instead of direct dependencies of buildTarget.

TODO

  • add e2e tests

Related Issue(s)

Fixes #14881

Sorry, something went wrong.

@vercel
Copy link

vercel bot commented Feb 24, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated
nx-dev ⬜️ Ignored (Inspect) Feb 27, 2023 at 2:38PM (UTC)

@barbados-clemens barbados-clemens force-pushed the fix/use-assets-for-any-descendant-project-ng-ct branch from 8fd2e7c to 86b6bed Compare February 24, 2023 22:58
@barbados-clemens barbados-clemens marked this pull request as ready for review February 24, 2023 22:59
@FrozenPandaz FrozenPandaz merged commit e8f19d8 into nrwl:master Feb 28, 2023
FrozenPandaz pushed a commit that referenced this pull request Mar 2, 2023

Verified

This commit was signed with the committer’s verified signature.
FrozenPandaz Jason Jean
… buildTarget (#15252)

(cherry picked from commit e8f19d8)
@github-actions
Copy link

github-actions bot commented Mar 6, 2023

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 Mar 6, 2023
@barbados-clemens barbados-clemens deleted the fix/use-assets-for-any-descendant-project-ng-ct branch May 5, 2023 21:56
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.

Cypress Component Testing - styles excluded from build target if not a direct dependency
3 participants