End-to-end testing for Confluence Forge apps
Aug 1, 2023Caterina Curti

Summary
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.