def METHOD_NAME(qtbot, editor_pid_watcher):
    if not editor_pid_watcher.has_pidfile:
        with qtbot.wait_signal(editor_pid_watcher.appeared, raising=False):
            pass
    if not editor_pid_watcher.manual_check():
        pytest.fail("Editor pidfile failed to appear!")