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

Summary
This post demonstrates the implementation of end-to-end tests for Confluence Forge apps using Webdriver.io and Mocha. It provides specific code examples for testing both Custom UI and UI Kit apps, including setup, login procedures, iframe handling for Custom UI, and macro interaction for UI Kit. Key observations on selector choices (data-testid, aria content selectors) and the removal of development suffixes for production environments are also highlighted.