Failure to CreateWidget inside of a Functional Test
I have a WebView within a Widget.
It loads up a URL and gets redirected and then grabs the result of the redirect.
I wrote a functional test to do something dependent on that redirect.
However, the CreateWidget call always returns a null object.
I checked the GetPlayerController(0) return, which is valid.
I made a simpler test that just creates a generic widget and that fails as well when placed within a functional test.
Is there some sort of limitation here I’m unaware of?
The thought I am arriving at is that the automation is structured to behave like a Dedicated Server, and is without a display and all UX related operations are no-ops.
When I launch the testing, it does create a client, but I’m wondering if the client isn’t where the functional test code is being executed.