angular-docs-cn/packages/core/test/acceptance
Andrew Kushnir cf10b336e7 fix(ivy): ComponentFactory.create should clear host element content (#33487)
Prior to this change, ComponentFactory.create function invocation in Ivy retained the content of the host element (in case host element reference or CSS seelctor is provided as an argument). This behavior is different in View Engine, where the content of the host element was cleared, except for the case when ShadowDom encapsulation is used (to make sure native slot projection works). This commit aligns Ivy and View Engine and makes sure the host element is cleared before component content insertion.

PR Close #33487
2019-11-12 21:34:06 -08:00
..
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
attributes_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
change_detection_spec.ts fix(ivy): Run ChangeDetection on transplanted views (#33644) 2019-11-12 13:53:54 -08:00
common_integration_spec.ts test(ivy): move common integration tests to acceptance (#30213) 2019-05-14 11:37:50 -07:00
component_spec.ts fix(ivy): ComponentFactory.create should clear host element content (#33487) 2019-11-12 21:34:06 -08:00
content_spec.ts fix(ivy): include `ngProjectAs` into attributes array (#32784) 2019-09-27 10:12:18 -07:00
copy_definition_feature_spec.ts feat(ivy): add a runtime feature to copy cmp/dir definitions (#33362) 2019-10-25 09:16:50 -07:00
debug_spec.ts refactor(ivy): migrate debug spec from render3 (#32621) 2019-09-12 11:35:49 -07:00
di_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
directive_spec.ts fix(ivy): match directives on namespaced elements (#33555) 2019-11-07 15:40:50 +00:00
discover_utils_spec.ts test(ivy): Have more descriptive names for `LView` (#33449) 2019-11-07 15:33:50 +00:00
embedded_views_spec.ts fix(ivy): unable to bind to implicit receiver in embedded views (#30897) 2019-06-11 14:29:42 -07:00
exports_spec.ts refactor(ivy): move exports tests to acceptance (#30157) 2019-04-26 16:37:34 -07:00
host_binding_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
i18n_spec.ts fix(ivy): better support for i18n attributes on <ng-container>s (#33599) 2019-11-07 01:51:42 +00:00
inherit_definition_feature_spec.ts refactor(ivy): remove ngBaseDef (#33264) 2019-10-25 13:11:34 -07:00
integration_spec.ts refactor(ivy): introduce a `firstUpdatePass` flag for `TView` instances (#31270) 2019-11-04 21:39:22 +00:00
lifecycle_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
listener_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
ng_module_spec.ts feat(ivy): implement unknown element detection in jit mode (#33419) 2019-11-04 15:59:10 +00:00
ngdevmode_debug_spec.ts test(ivy): Have more descriptive names for `LView` (#33449) 2019-11-07 15:33:50 +00:00
outputs_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
pipe_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
property_binding_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
property_interpolation_spec.ts refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
providers_spec.ts fix(ivy): error when using forwardRef in Injectable's useClass (#30532) 2019-07-26 14:02:49 -07:00
pure_function_spec.ts test(ivy): pure function acceptance tests (#30406) 2019-05-13 10:55:59 -07:00
query_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
renderer_factory_spec.ts fix(ivy): avoid DOM element assertions if procedural renderer is used (#33156) 2019-10-15 21:03:29 +00:00
router_integration_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
styling_spec.ts perf(ivy): apply [style]/[class] bindings directly to style/className (#33336) 2019-10-24 17:42:46 -07:00
template_ref_spec.ts test(ivy): get ViewRef.rootNodes should get all root nodes from projectable nodes (#33647) 2019-11-11 09:37:38 -08:00
text_spec.ts refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
view_container_ref_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
view_insertion_spec.ts test(ivy): view insertion before ng-container with a ViewContainerRef (#33755) 2019-11-12 14:07:31 -08:00
view_ref_spec.ts test(ivy): fix failing view ref test (#29178) 2019-03-07 18:56:22 -08:00