Skip to content

Conversation

@KillerCodeMonkey
Copy link
Contributor

Issue number: resolves #


What is the current behavior?

We have flaky tests in an ionic angular project that root cause are not cleaned up timeouts.
I commented out the timeout in the searchbar componentWillLoad method. and after several runs no flaky tests at all.

My guess -> test runs faster than the 300ms it takes til the timeout runs. Everything is cleaned up, but not the ionic timeouts (i think i saw something similar in the "label" component)

What is the new behavior?

Timeouts are cleaned on disconnect.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Testrunner is vitest + angular 20 and latest ionic version 8.x

@vercel
Copy link

vercel bot commented Dec 9, 2025

@KillerCodeMonkey is attempting to deploy a commit to the Ionic Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the package: core @ionic/core package label Dec 9, 2025
@KillerCodeMonkey KillerCodeMonkey marked this pull request as ready for review December 9, 2025 14:35
@KillerCodeMonkey KillerCodeMonkey requested a review from a team as a code owner December 9, 2025 14:35
@KillerCodeMonkey KillerCodeMonkey mentioned this pull request Dec 9, 2025
2 tasks
@KillerCodeMonkey KillerCodeMonkey changed the title fix(searchbar): clean up timeouts fix(searchbar): clear timeouts Dec 9, 2025
@KillerCodeMonkey
Copy link
Contributor Author

closed in favor of #30851

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant