Automation Driver in Lyra

While working on UI Automation I’ve created a sample Gauntlet test that interacts with Lyra menu and starts one of the Lyra’s experiences.

Created a PR: https://github.com/EpicGames/UnrealEngine/pull/14018

Does this approach of combining Gauntlet test with Automation Driver spec look correct?

Client.CommandLineParams.Add("ExecCmds", "Automation RunTest Lyra.MenuStartEliminationSpec");

[Attachment Removed]

To execute an Engine test you don’t need to write a new Gauntlet test.

You can use the already existing test node named UE.EditorAutomation and UE.TargetAutomation tests to run through the corresponding build targets (Editor and Client).

There is a documented page about these:

https://dev.epicgames.com/documentation/en\-us/unreal\-engine/running\-gauntlet\-tests\-in\-unreal\-engine\#ueautomationtests

In your case that would be:

RunUAT.bat RunUnreal -test=UE.TargetAutomation -runtest=Lyra.MenuStartEliminationSpec -project=Lyra -build=<path to packaged game>The advantage of using the UE.Automation test nodes is the build-in parsing of test output. However for the Client run it will require the Editor too as it will serve as coordinator.

A coordinator is required mainly if you have Screenshot comparison to evaluate.

[Attachment Removed]