Juce-end-to-end for Juce 8 Webview GUIs?

Hello all,

To keep it really short…I was wondering if anyone knows if Focusrite plans to extend their ‘juce-end-to-end’ framework to allow testing of the soon to be Webview GUIs as announced for example here:
https://gearspace.com/board/product-alerts-older-than-2-months/1422096-introducing-juce-8-a.html

Hey! Short answer is that no, we don’t have any plans to extend the e2e framework to work with WebViews.

I would suggest looking at specific JavaScript front-end testing frameworks instead and have a go at implementing them for a JUCE WebView, but I can’t say this is something I have any experience in myself.

1 Like

In case anyone still needs this: I’ve built a tool for end-to-end testing of JUCE WebView UIs on WKWebView and WebView2, including asserting on C++ state and native screenshots. Details here: juce-webview-driver: end-to-end tests for live WebView UIs (WKWebView + WebView2, no CDP)

1 Like

Nice, looks cool!

FWIW I mostly use https://xa11y.dev for end-to-end testing now as it doesn’t require any hooks or changes of any kind to your app as it uses the native accessibility APIs to navigate and control your UI.