DEV: Try fix flaky dismiss keyboard specs (PR #13452)

Also add extra logging for test failures

GitHub