Commit Graph

88 Commits

Author SHA1 Message Date
Matt Schile
4cb5774618 chore: update the unsupported framework on link to point to the supported frameworks page (#30841) 2025-01-09 10:32:14 -07:00
semantic-release-bot
7771231243 chore: release @cypress/angular-v3.0.0
[skip ci]
2025-01-07 19:57:14 -05:00
AtofStryker
8dc8c12d85 breaking: release version 3.0.0 of @cypress/angular.
BREAKING CHANGE: Cypress 14 drops support for Angular 13-16. Angular 17.2 and up is supported.
2025-01-07 17:06:41 -05:00
Bill Glesias
dcdefb4069 feat: support angular 19 and update tests [run ci] (#30675) 2024-12-02 15:29:54 -05:00
Bill Glesias
edd9a27031 breaking: remove the cypress/angular-signals test harness. The changes incorporated in @cypress/angular-signals are now merged upstream into @cypress/angular and the package is no longer needed [run ci] (#30540) 2024-11-07 13:16:18 -05:00
Bill Glesias
3141d12dc5 breaking: remove support for angular 13,14,15, and 16. minimum version is now 17.2.0 (#30539)
breaking: cypress-schematic only supports angular 17.2.0 and up [run ci]

fix updates missed [run ci]
2024-11-06 15:06:49 -05:00
semantic-release-bot
c9c0ccf190 chore: release @cypress/angular-v2.1.0
[skip ci]
2024-07-02 10:57:33 -04:00
Bill Glesias
f2554f12d6 feat: add Angular Signals CT Harness for Angular 17.2 and up for users to be able to use Angular Signals within their component tests (#29621)
* direct copy paste of angular npm package to angular18 (no changes)

* feat: implement angular-signals test hardness to support angular signals

add changelog entry and build binary [run ci]

rename angular18 to angular-signals until we are able to merge back into core package [run ci]

fix linting job [run ci]

make sure angular-signals harness is copied to cli after build [run ci]

add project fixture directory to angular 18 and build binaries for newly named branch

run ci

update cache [run ci]

bust nx cache [run ci]

bust cache on linux [run ci]

try busting the cache... again [run ci]

usually helps when you have the correct build output... [run ci]

fix issue where component internal props were getting blown away when user would not set prop in componentProperties [run ci]

* update test harness description

* add built-in control flow tests with signals

* make sure to clean up rxjs observables in order to prevent a memory leak

* address comments from code review

* yarn lock

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-06-28 13:37:54 -04:00
semantic-release-bot
dae6a0d044 chore: release @cypress/angular-v2.0.4
[skip ci]
2024-06-07 12:56:23 -04:00
Bill Glesias
f3b67666a5 fix: update cypress to Typescript 5 (#29568)
* fix: update the monorepo to typescript 5

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* run ci to see problems [run ci]

* update vue-tsc and typings that conflict with update

* regen snapshot

* fix typescript errors ui test as stack trace behavior has changed

* fix server unit tests

* update cy.origin() spec based on stack traces and code frames

* update spec to include source map url

* run ci

* fix check-ts

* chore: fix system tests [run ci]

* add preprocessor tests to batteries included to exercise new logic

* run ci

* refactor unit tests to be a bit more dry

* pin typescript to ~5.4 and adjust config to ignroe deprecations but keep importsNotUsedAsValues

* add changelog entry

* add fixme issue to stack trace mismatches inside evaled context

* use import type webpack as webpack as a lib isn't actually invboked in the runner webpack config

* fix system test as adding 4 lines of comments impacts the stack trace line 4 lines (duh)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-06-04 19:17:38 -04:00
Jennifer Shehane
b188ad3df6 chore: standardize having authors removed from package.json (#29380) 2024-04-23 12:43:53 -04:00
Adam Stone-Lord
4c11731ee1 chore: optimize task execution (#27848)
* Revert "chore: simplify build script (#27547)"

This reverts commit 0a86ec686e.

* Revert "chore: upgrade lerna to 6, cache build step (#26913)"

This reverts commit 9e60aeba8f.

* [run ci]

* chore: upgrade lerna to 6, cache build step (#26913)

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update lerna to 6

* [run ci]

* try caching build step

* we can't clean without building after

* add dependencies on scripts for npm packages

* update commands

* add config for data-context build step

* fix output configurations for npm packages, add gitignores

* revert changes to config and data-context build steps

* fix outputs

* run with cache

* fix outputs for cli

* actually fix outputs

* test with cache

---------

Co-authored-by: astone123 <adams@cypress.io>

* chore: simplify build script (#27547)

* chore: simplify build script

* update CI workflows

* fix workflows

* empty commit because Percy weirdness

* chore: add driver, reporter, config as implicit dependencies for runner package (#27559)

* run all workflows on branch

* chore: parallelize test-binary-against-recipes CI step (#27570)

* chore: fix some easy circular dependencies in dep graph (#27612)

* chore: remove gulp tasks from postinstall (#27616)

* empty commit

* chore: minor improvements to node_modules_install (#27647)

* chore: fix cypress:open and dev scripts

* run with cache [run ci]

* exclude mochaawesome assets from .yarnclean [run ci]

* bump cache again [run ci]

* run cached [run ci]

* chore: do not cache cli build step [run ci]

* update workflow command and docs for build-cli [run ci]

* fix commands that use scope [run ci]

* use different branch for publish repo [run ci]

* percy weirdness? [run ci]

* fix postbuild cli script [run ci]

* try to remove typescript from production binary [run ci]

* fix circular dependency [run ci]

* try removing ts from node_modules [run ci]

* remove typescript resolution [run ci]

* remove redundant target scripts

* update to lerna scoped commands

* remove unneeded yarn in lerna command

* try to fix Electron install in Windows workflow

---------

Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Dave Kasper <dave.m.kasper@gmail.com>
2023-10-04 12:25:00 -05:00
Adam Stone-Lord
24f1460692 chore: revert changes to build process (#27584)
* Revert "chore: remove Typescript dependency from app node_modules in binary (#27577)"

This reverts commit 60d4c8356c.

* Revert "chore: simplify build script (#27547)"

This reverts commit 0a86ec686e.

* Revert "chore: upgrade lerna to 6, cache build step (#26913)"

This reverts commit 9e60aeba8f.

* build everything

* [run ci]
2023-08-18 10:05:29 -04:00
Jordan
9e60aeba8f chore: upgrade lerna to 6, cache build step (#26913)
* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update lerna to 6

* [run ci]

* try caching build step

* we can't clean without building after

* add dependencies on scripts for npm packages

* update commands

* add config for data-context build step

* fix output configurations for npm packages, add gitignores

* revert changes to config and data-context build steps

* fix outputs

* run with cache

* fix outputs for cli

* actually fix outputs

* test with cache

---------

Co-authored-by: astone123 <adams@cypress.io>
2023-08-10 11:12:38 -04:00
Jordan
fd63f19cbc chore: enable caching for lint task (#26791) 2023-06-02 16:47:02 -04:00
semantic-release-bot
1788f252f3 chore: release @cypress/angular-v2.0.3
[skip ci]
2023-03-14 12:01:45 -04:00
Michal Wozniak
e674f43040 fix(angular): mount cy-root in original location (#25965)
* fix(angular): mount cy-root in original location

* correctly fix insertRootElement to preserves html hierarchy, trim system-tests

---------

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2023-03-01 16:12:34 -05:00
semantic-release-bot
f9cf41ad42 chore: release @cypress/angular-v2.0.2
[skip ci]
2023-02-17 09:53:03 -05:00
Zachary Williams
104eef5dfb fix: mount component in [data-cy-root] (#25807)
* fix(angular): mount component in [data-cy-root]

* fix e2e test

* add changelog entry

* changelog [skip ci]

* changelog

---------

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-02-17 20:21:36 +10:00
Emily Rohrbough
a869d5dd28 chore: enforce changelog entries on PR reviews (#25459)
Co-authored-by: Blue F <blue@cypress.io>
2023-01-24 15:30:33 -06:00
Jan Papenbrock
4baad8eb6b docs(angular): Properties that are spied upon have to be defined within componentProperties instead of on root level. (#25359)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2023-01-06 09:13:10 -06:00
Zach Bloomquist
1b1ed9cd49 chore: improve linting (#25235) 2022-12-29 17:26:13 +00:00
Jordan
ed90b14d4f refactor: move linting to each lib to enable caching (#24424) 2022-11-17 17:31:19 +10:00
Adam Stone
141c799975 chore: normalize CT adapter readme documents (#24590) 2022-11-09 12:29:28 -05:00
semantic-release-bot
bad2cd7f3b chore: release @cypress/angular-v2.0.1
[skip ci]
2022-11-07 19:06:36 -05:00
Zachary Williams
838dd4fa2e fix: make component derived info not throw (#24571) 2022-11-07 16:36:43 -06:00
semantic-release-bot
06a40949ad chore: release @cypress/angular-v2.0.0
[skip ci]
2022-11-07 10:42:18 -05:00
rockindahizzy
7aba05b1a4 chore: add or improve mount JSDocs (#24475)
* Add or improve JSDoc

* Address code review comments

* Apply suggestions from code review

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>

* Update npm/react/src/mount.ts

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>

* Apply suggestions from code review

Co-authored-by: Stokes Player <stokes@cypress.io>

* on links

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-11-04 17:26:01 +10:00
Zachary Williams
f39eb1c19e fix: remove last mounted component upon subsequent mount calls (#24470)
BREAKING CHANGE: remove last mounted component upon subsequent mount calls of mount
2022-11-03 12:19:29 -05:00
Rainer Hahnekamp
54d2853217 fix: possibility to override global services in Angular component tests (#24394)
* fix: allow to override global services in Angular component tests

* move DI tests into their own context

* exclude `componentProviders` when a component is mounted with a template

* - revert and remove `componentProviders`
- run `eslint --fix` on `mount.cy.ts`
- add tests that use `TestBed.inject`

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-11-01 09:16:10 +10:00
semantic-release-bot
d8574c1ed5 chore: release @cypress/angular-v1.1.2
[skip ci]
2022-10-11 17:40:22 -04:00
Zachary Williams
53eef4fbd7 fix: angular and nuxt ct tests now fail on uncaught exceptions (#24122) 2022-10-11 10:21:32 -04:00
semantic-release-bot
94b4ca0b46 chore: release @cypress/angular-v1.1.1
[skip ci]
2022-10-03 21:22:10 -04:00
Jordan
670d438309 fix(angular): call ngOnChanges after mount (#23596)
* fix(angular): call ngOnChanges after mounting
2022-10-03 18:17:46 -04:00
semantic-release-bot
296cebb09c chore: release @cypress/angular-v1.1.0
[skip ci]
2022-09-27 20:26:24 -04:00
semantic-release-bot
8bcfe93ba9 chore: release @cypress/angular-v1.1.0
[skip ci]
2022-09-26 23:02:13 -04:00
semantic-release-bot
c9405d1dc4 chore: release @cypress/angular-v1.1.0
[skip ci]
2022-09-23 11:37:24 -04:00
Emily Rohrbough
86b02f3c96 chore: remove master branch from dev workflow 2022-09-20 08:45:38 -05:00
Mike Plummer
64c0f45182 fix: Fix missing it.skip function in Angular tests (#23829)
* fix: restore mocha methods

* Simplify `it.skip` patch, add tests

* Consolidate test runs for perf

* Add tests to validate `skip` and `only` behaviors

Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2022-09-16 09:42:01 +10:00
Emily Rohrbough
864ab8ebf2 chore: merge master into develop for release (#23803) 2022-09-13 10:49:01 -05:00
Mike Plummer
b5e6fd67a9 Merge branch 'master' into develop 2022-08-30 09:25:23 -05:00
Zachary Williams
2f337dbfa2 fix: angular 14.2 mount compilation error (#23593) 2022-08-29 13:40:43 -05:00
Zachary Williams
f6eaad40e1 feat: adding svelte component testing support (#23553)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Rocky <25568640+rockindahizzy@users.noreply.github.com>
2022-08-26 12:36:05 -05:00
Zachary Williams
7ddcc96388 chore: update typescript (#23523)
* chore: update typescript

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* use String()

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-08-25 09:31:02 +10:00
semantic-release-bot
02e5b24c63 chore: release @cypress/angular-v1.0.0
[skip ci]
2022-08-17 12:37:31 -04:00
Jordan
d4a034dbc6 build(angular): publish @cypress/angular to npm (#23387) 2022-08-17 10:59:06 -05:00
Bill Glesias
17f430768b Merge branch 'master' into develop 2022-08-15 12:29:07 -04:00
Jordan
d201b37b3d feat: add template support, teardown & standalone (#23117)
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-08-08 09:38:52 -05:00
Zachary Williams
20f89bfa32 fix: remove dependency causing semantic-release to fail (#23142) 2022-08-05 15:54:44 -05:00
semantic-release-bot
d9c20fb3bb chore: release @cypress/angular-v1.0.0
[skip ci]
2022-08-04 18:02:15 -04:00