test(ivy): resolve root cause for core animation tests (#28062)
PR Close #28062
This commit is contained in:
parent
26a8c095d0
commit
b0f3c20a4c
|
@ -853,8 +853,9 @@ const DEFAULT_COMPONENT_ID = '1';
|
|||
}));
|
||||
|
||||
// nonAnimationRenderer => animationRenderer
|
||||
fixmeIvy('unknown').it(
|
||||
'should trigger a leave animation when the inner components host binding updates',
|
||||
fixmeIvy(
|
||||
'FW-943 - elements are removed in the wrong renderer so far as host animation @triggers are concerned')
|
||||
.it('should trigger a leave animation when the inner components host binding updates',
|
||||
fakeAsync(() => {
|
||||
@Component({
|
||||
selector: 'parent-cmp',
|
||||
|
@ -870,9 +871,9 @@ const DEFAULT_COMPONENT_ID = '1';
|
|||
selector: 'child-cmp',
|
||||
template: '...',
|
||||
animations: [trigger(
|
||||
'host',
|
||||
[transition(
|
||||
':leave', [style({opacity: 1}), animate(1000, style({opacity: 0}))])])]
|
||||
'host', [transition(
|
||||
':leave',
|
||||
[style({opacity: 1}), animate(1000, style({opacity: 0}))])])]
|
||||
})
|
||||
class ChildCmp {
|
||||
@HostBinding('@host') public hostAnimation = true;
|
||||
|
@ -956,8 +957,9 @@ const DEFAULT_COMPONENT_ID = '1';
|
|||
}));
|
||||
|
||||
// animationRenderer => animationRenderer
|
||||
fixmeIvy('unknown').it(
|
||||
'should trigger a leave animation when both the inner and outer components trigger on the same element',
|
||||
fixmeIvy(
|
||||
'FW-943 - elements are removed in the wrong renderer so far as host animation @triggers are concerned')
|
||||
.it('should trigger a leave animation when both the inner and outer components trigger on the same element',
|
||||
fakeAsync(() => {
|
||||
@Component({
|
||||
selector: 'parent-cmp',
|
||||
|
@ -2915,10 +2917,10 @@ const DEFAULT_COMPONENT_ID = '1';
|
|||
expect(cmp.log).toEqual(['parent-done', 'child-done']);
|
||||
}));
|
||||
|
||||
fixmeIvy('unknown').it(
|
||||
'should fire callbacks and collect the correct the totalTime and element details for any queried sub animations',
|
||||
fakeAsync(
|
||||
() => {
|
||||
fixmeIvy(
|
||||
'FW-944 - style/class bindings lose track of consts/vars when interpolation is present')
|
||||
.it('should fire callbacks and collect the correct the totalTime and element details for any queried sub animations',
|
||||
fakeAsync(() => {
|
||||
@Component({
|
||||
selector: 'my-cmp',
|
||||
template: `
|
||||
|
|
|
@ -295,8 +295,9 @@ import {HostListener} from '../../src/metadata/directives';
|
|||
expect(p6.element.classList.contains('b3')).toBeTruthy();
|
||||
});
|
||||
|
||||
fixmeIvy('unknown').it(
|
||||
'should be able to query all active animations using :animating in a query', () => {
|
||||
fixmeIvy(
|
||||
'FW-944 - style/class bindings lose track of consts/vars when interpolation is present')
|
||||
.it('should be able to query all active animations using :animating in a query', () => {
|
||||
@Component({
|
||||
selector: 'ani-cmp',
|
||||
template: `
|
||||
|
@ -802,7 +803,9 @@ import {HostListener} from '../../src/metadata/directives';
|
|||
expect(player.element.style.height).toEqual('444px');
|
||||
});
|
||||
|
||||
fixmeIvy('unknown').it('should find newly inserted items in the component via :enter', () => {
|
||||
fixmeIvy(
|
||||
'FW-945 - Ivy createComponent calls CD while VE waits for CD to be explicitly called')
|
||||
.it('should find newly inserted items in the component via :enter', () => {
|
||||
@Component({
|
||||
selector: 'ani-cmp',
|
||||
template: `
|
||||
|
@ -2239,8 +2242,9 @@ import {HostListener} from '../../src/metadata/directives';
|
|||
expect(p3.element.classList.contains('parent1')).toBeTruthy();
|
||||
});
|
||||
|
||||
fixmeIvy('unknown').it(
|
||||
'should emulate a leave animation on the nearest sub host elements when a parent is removed',
|
||||
fixmeIvy(
|
||||
'FW-943 - elements are removed in the wrong renderer so far as host animation @triggers are concerned')
|
||||
.it('should emulate a leave animation on the nearest sub host elements when a parent is removed',
|
||||
fakeAsync(() => {
|
||||
@Component({
|
||||
selector: 'ani-cmp',
|
||||
|
|
Loading…
Reference in New Issue