Skip to content

Commit

Permalink
test(core): disable flaky tests temporarily (angular#51895)
Browse files Browse the repository at this point in the history
This commit disables a couple newly-added tests related to `on idle` trigger condition for @defer blocks. Tests would be re-enabled back once we identify the reason of flakiness and fix it.

PR Close angular#51895
  • Loading branch information
AndrewKushnir authored and dylhunn committed Sep 25, 2023
1 parent d6bfebe commit 487b9e1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/core/test/acceptance/defer_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,8 @@ describe('#defer', () => {
expect(fixture.nativeElement.outerHTML).toContain('Rendering primary block');
});

it('should support `prefetch on idle` condition', async () => {
// TODO(akushnir): investigate why this test is flaky, fix and re-enable.
xit('should support `prefetch on idle` condition', async () => {
@Component({
selector: 'nested-cmp',
standalone: true,
Expand Down Expand Up @@ -943,7 +944,8 @@ describe('#defer', () => {
});
});

it('should trigger prefetching based on `on idle` only once', async () => {
// TODO(akushnir): investigate why this test is flaky, fix and re-enable.
xit('should trigger prefetching based on `on idle` only once', async () => {
@Component({
selector: 'nested-cmp',
standalone: true,
Expand Down Expand Up @@ -1029,7 +1031,8 @@ describe('#defer', () => {
});
});

it('should trigger fetching based on `on idle` only once', async () => {
// TODO(akushnir): investigate why this test is flaky, fix and re-enable.
xit('should trigger fetching based on `on idle` only once', async () => {
@Component({
selector: 'nested-cmp',
standalone: true,
Expand Down

0 comments on commit 487b9e1

Please sign in to comment.