How to make a widget display in a standalone window?
I'm trying to open a ScreenshotComparison window same as the screenshot comparison tab in session frontend by one of my pieces of code about functional test. The window is expected to show without opening the editor, as shown below.
Here's my code:
It's built successfully, though nothing happened when I ran the test. Looks simply setting the widget visible won't work to pop up a standalone window.
Another of my thought is that perhap I cannot make a SWidget visible? Then do I need to put it into some other kinds of widget? How to make the whole thing display in a standalone window then?
By the by, it's my first time asking a question here, please forgive and remind me if I got something wrong.
Follow this question
Once you sign in you will be able to subscribe for any updates here