Skip to main content
Solved

Automate QA tests on my figma plugin


I am a developer and designed a plugin for a Figma. Do we have any tool to run the QA automation tests on the plugin before releasing to production

Best answer by jefflee

Thanks for the question. Unfortunately, we don’t have any special tooling to help test plugins. This isn’t an uncommon request from our developer community, so it’s definitely on our minds.

View original

5 replies

  • Figmate
  • 1884 replies
  • April 4, 2024

Hello @Manoj_Venkata, Thank you for reaching out about this!

I have relocated your topic to the Plugin and Widget API category, where you can engage with other developers who might offer insights.
I will reach out to our team internally to explore if we can offer any assistance. We will keep you informed once we have any updates.

We also appreciate any input or suggestions from other community members!

Thank you.


jefflee
Figmate
  • Figmate
  • 22 replies
  • Answer
  • April 4, 2024

Thanks for the question. Unfortunately, we don’t have any special tooling to help test plugins. This isn’t an uncommon request from our developer community, so it’s definitely on our minds.


Silvina_Cortes

Hi all,

I wanted to chime in on this discussion.

I’ve recently attempted to test our published plugins’ UI using Cypress. However, given they operate within Iframes, manipulating them proved to be almost impossible (same origin policy).

After some research, I’ve managed to find a workaround: Figma Desktop automation with python (pywinauto + pytest) allows me load my plugin from manifest.json and manipulate its Iframe structure, and that is what we are working with atm.

I believe having a dedicated tool or framework specifically tailored for testing Figma plugins would greatly benefit developers, streamlining the process of identifying and addressing potential issues before releasing to production. It would not only enhance the overall quality of plugins but also contribute to a more robust ecosystem for Figma users.

I’m eager to hear any updates or insights from the community or the Figma team regarding potential solutions or improvements in this area ☺️


Gavin
  • Active Member
  • 31 replies
  • April 8, 2025

Hi ​@Silvina_Cortes. I’m not sure if this is still a need for you, but I’ve created a method for testing plugins. I’m looking for people who might want to test it. I’m the creator of a toolkit called Plugma which makes developing plugins easier and the next release includes a command for running tests. You can learn more about Plugma at https://www.plugma.dev/. If you’re interested, reply or message me and I can give you details on how to try the new feature.


Silvina_Cortes

Hi ​@Gavin ! Yes, this is still very much a need for my team. I would love to get some more details on it.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings