E2E tests for Confluence Cloud Addon


I’m looking into adding some e2e tests for our Confluence Cloud addon. I cannot find any official guideline,. tips or tools to do it.

I’m curious on what people have done to solve this issue. Do people use tools like puppeteer and run against dev instances? Create mocks that imitates Confluence behavior?