Skip to content
  • Arjen Hiemstra's avatar
    InputMethodTest: Only create the windowAddedSpy when actually needed · 8284740c
    Arjen Hiemstra authored
    We don't really care about the window showing up until we're calling
    showInputPanel, but since Workspace::windowAdded is triggered for any
    window that gets added, the test sometimes fails because count() is 2
    instead of 1. To avoid that, only create the spy when it's actually
    relevant instead of all the way at the start before any other setup is
    done.
    8284740c