<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1198476139004771&amp;ev=PageView&amp;noscript=1">

Automated Testing for UI Extensions

What is it?

You can now use a new suite of comprehensive testing utilities built into the HubSpot UI Extensions SDK. These tools make it easier for you to write, run, and maintain automated tests for your custom UI extensions.

With these new testing utilities, you can:

  • Build with confidence. Catch bugs before they reach production.
  • Refactor safely. Make changes knowing your tests will detect regressions.
  • Document behavior. Use your tests as executable documentation that clearly describes how your extensions work.
  • Move faster. Automate your testing process to save time and get consistent results every time.
  • Improve quality. Deliver well-tested extensions that are more reliable and easier to maintain.
  •  

Why does it matter?

With these testing tools, you can simulate HubSpot APIs and hooks, test user interactions, and verify component behavior directly within your development environment. This means you can confidently ship extensions that are stable, reliable, and easy to maintain over time.

How does it work?

The UI Extensions SDK now includes testing utilities that let you automate testing for your UI Extensions. All HubSpot APIs and hooks are automatically mocked, allowing you to easily query, trigger events, and verify component behavior, all with full TypeScript type safety.

Who gets it?

These testing utilities are available to all hubs and tiers.

Topics: Free (all hubs & tiers)

Related articles


Artifacts on Breeze Assistant mobile app. All your Breeze Assistant content, in one place
9 Dec 2025

Introducing Custom Assistants on Breeze Assistant mobile app
9 Dec 2025

Fully Customizable Index Page Quick Filters
9 Dec 2025

Ready to maximize your business growth with our HubSpot-accredited services?

Contact us today to learn how we can help you succeed.