Skip to content
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

feat(cypress/schematic): add support for component testing #23385

Merged
merged 24 commits into from
Aug 25, 2022

Conversation

admah
Copy link
Contributor

@admah admah commented Aug 16, 2022

This adds Angular CT support to the Cypress Schematic.

User facing changelog

  • Users can setup CT via ng-add
  • Users can scaffold component tests on install via ng-add
  • Users can generate e2e and component tests via ng-generate
  • Users can generate component tests alongside ALL project components via ng-generate

More details are in the README

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 16, 2022

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Aug 16, 2022



Test summary

39609 0 3371 0Flakiness 2


Run details

Project cypress
Status Passed
Commit 06824b4
Started Aug 25, 2022 7:41 PM
Ended Aug 25, 2022 7:56 PM
Duration 14:50 💡
OS Linux Debian - 11.3
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

commands/xhr.cy.js Flakiness
1 src/cy/commands/xhr > abort > aborts xhrs currently in flight
angular.cy.ts Flakiness
1 Working with angular-14 > should mount a passing test

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Copy link
Collaborator

@jordanpowell88 jordanpowell88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a few minor pieces of feedback

Adam Murray and others added 21 commits August 24, 2022 15:46
… tests from them. add new specs-ct generation script. move ct generate functions to utils. update tests.
@admah admah force-pushed the feat-add-angular-ct-schematic branch from 7d60526 to 287d6e3 Compare August 24, 2022 20:48
@admah admah requested a review from ZachJW34 August 24, 2022 21:24
@admah admah merged commit 99562af into develop Aug 25, 2022
@admah admah deleted the feat-add-angular-ct-schematic branch August 25, 2022 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants