Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): DeferBlockFixture.render should not wait for stability #55271

Closed
wants to merge 2 commits into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Apr 9, 2024

The DeferBlockFixture.render function should not await the whenStable promise of the fixture. This does not allow developers to test any intermediate states that might occur between rendering the initial content and the full app stability. This change updates the wait condition to only wait for one render instead.

fixes #55235

@atscott atscott added the target: patch This PR is targeted for the next patch release label Apr 9, 2024
@atscott atscott added this to the v18-candidates milestone Apr 9, 2024
@ngbot ngbot bot removed this from the v18-candidates milestone Apr 9, 2024
@pkozlowski-opensource pkozlowski-opensource added the area: core Issues related to the framework runtime label Apr 11, 2024
@ngbot ngbot bot added this to the Backlog milestone Apr 11, 2024
@pkozlowski-opensource pkozlowski-opensource added the action: review The PR is still awaiting reviews from at least one requested reviewer label Apr 11, 2024
@atscott atscott force-pushed the deferrender branch 2 times, most recently from bd69858 to 7c979b3 Compare April 11, 2024 23:23
@atscott atscott changed the title fix(core): DeferBlockFixture.render should only wait for the next ren… fix(core): DeferBlockFixture.render should not wait for stability Apr 11, 2024
The `DeferBlockFixture.render` function should not await the
`whenStable` promise of the fixture. This does not allow developers to
test any intermediate states that might occur between rendering the
initial content and the full app stability.

fixes angular#55235
@AndrewKushnir AndrewKushnir removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Apr 22, 2024
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Apr 22, 2024
@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit c175bca.

AndrewKushnir pushed a commit that referenced this pull request Apr 23, 2024
…5271)

The `DeferBlockFixture.render` function should not await the
`whenStable` promise of the fixture. This does not allow developers to
test any intermediate states that might occur between rendering the
initial content and the full app stability.

fixes #55235

PR Close #55271
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

await deferBlockFixture.render hangs when interval is subscribed
3 participants