angular-docs-cn/packages/router/test
Paul Gschwendtner 6d3a25d897 ci: run acceptance tests on saucelabs with ivy (#34277)
Currently we only run Saucelabs on PRs using the legacy View Engine
build. Switching that build to Ivy is not trivial and there are various
options:

  1. Updating the R3 switches to use POST_R3 by default. At first glance,
  this doesn't look easy because the current ngtsc switch logic seems to
  be unidirectional (only PRE_R3 to POST_R3).

  2. Updating the legacy setup to run with Ivy. This sounds like the easiest
  solution at first.. but it turns out to be way more complicated. Packages
  would need to be built with ngtsc using legacy tools (i.e. first building
  the compiler-cli; and then building packages) and View Engine only tests
  would need to be determined and filtered out. Basically it will result in
  re-auditing all test targets. This is contradictory to the fact that we have
  this information in Bazel already.

  3. Creating a new job that runs tests on Saucelabs with Bazel. We specify
  fine-grained test targets that should run. This would be a good start
  (e.g. acceptance tests) and also would mean that we do not continue maintaining
  the legacy setup..

This commit implements the third option as it allows us to move forward
with the general Bazel migration. We don't want to spend too much time
on our legacy setup since it will be removed anyway in the future.

PR Close #34277
2019-12-16 07:43:41 -08:00
..
aot_ngsummary_test fix(bazel): ng_module should not emit shim files under bazel and Ivy (#33765) 2019-11-22 16:52:08 -05:00
operators refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
utils build: add bazel test rules for remainder of packages (#21053) 2017-12-22 13:10:51 -08:00
BUILD.bazel ci: run acceptance tests on saucelabs with ivy (#34277) 2019-12-16 07:43:41 -08:00
apply_redirects.spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
bootstrap.spec.ts refactor(core): move Meta methods that only have one version from DomAdapter (#32408) 2019-09-03 11:59:39 -07:00
config.spec.ts fix(router): fix lazy loading of aux routes (#23459) 2018-06-13 11:20:20 -07:00
create_router_state.spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
create_url_tree.spec.ts Revert "fix(router): change processing url tree children condition (#26243)" (#27516) 2018-12-06 09:17:20 -08:00
helpers.ts feat(router): allow guards to return UrlTree as well as boolean (#26521) 2018-10-31 19:51:50 -04:00
integration.spec.ts fix(router): adjust UrlTree redirect to replace URL if in eager update (#32988) 2019-10-18 14:42:21 -04:00
recognize.spec.ts Revert "fix(router): process empty path segment when preceding a named outlet (#26243)" (#27516) 2018-12-06 09:17:20 -08:00
regression_integration.spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
router.spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
router_preloader.spec.ts fix(ivy): align NgModuleRef implementation between Ivy and ViewEngine (#27482) 2018-12-06 13:35:08 -08:00
router_scroller.spec.ts fix(router): default scroll position restoration to disabled (#25586) 2018-08-21 10:48:14 -07:00
router_state.spec.ts build(bazel): fix router test failure (#29375) 2019-03-19 23:39:37 -04:00
shared.spec.ts style: typos fixed - https://github.com/vlajos/misspell-fixer (#22975) 2018-03-27 14:51:53 -04:00
spy_ng_module_factory_loader.spec.ts test(ivy): run router tests with ivy on CI (#27195) 2018-11-21 09:19:40 -08:00
url_serializer.spec.ts fix(router): correct the segment parsing so it won't break on ampersand (#23684) 2018-05-10 07:53:53 -07:00
url_tree.spec.ts fix(router): make routerLinkActive work with query params which contain arrays (#22666) 2019-11-21 20:02:33 -05:00