Atlassian

End-to-end testing for Confluence Forge apps

Aug 1, 2023Caterina Curti
End-to-end testing for Confluence Forge apps
SummaryAI, from the source post

This post details the implementation of end-to-end tests for Confluence Forge apps using Webdriver.io and Mocha. It provides specific code samples for testing both Custom UI and UI Kit apps, including setup for the WebdriverIO configuration wizard, login procedures using environment variables, and specific test logic for interacting with iframes in Custom UI apps and macros in UI Kit apps. Observations on selector choices (data-testid, aria content selector) and the removal of demo pauses are also included.

More from the End-to-end testing for Confluence Forge apps trail