While it’s generally intended that wait_for_window is not called within this testcase, in the first test instruction it was a mistake. The window in fact gets mapped and therefore we should call wait_for_window.