Automatic test for escape closing window from combobox (#12163)

Change-Id: I38a143fb76ebf3a64cd416e5ba7d325aedc60ffe