There is a discussion here on using E2E tooling to testing but there are limitations when it comes to avoiding captchas and working with App Bridge: Automated UI testing of Shopify app
There is a discussion here on using E2E tooling to testing but there are limitations when it comes to avoiding captchas and working with App Bridge: Automated UI testing of Shopify app