FAutomationEditorCommonUtils::CreateNewMap crashes the test in UE5

If anyone else is having an issue writing automation tests where they rely on code which inherently throws errors by design and there is no workaround, here’s what worked for me.

Modify your DefaultEngine.ini file to include the following:

[/Script/AutomationController.AutomationControllerSettings]
bSuppressLogErrors=True
bSuppressLogWarnings=True
bElevateLogWarningsToErrors=False