• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

os-autoinst / os-autoinst / 1986
57%

Build:
DEFAULT BRANCH: master
Ran 11 Sep 2016 07:47AM UTC
Jobs 1
Files 46
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1986

push

travis-ci

coolo
testapi: type_string: optionally check for screen changes (#584)

this adds a new param for `type_string`, which basically waits
for the screen to change every few characters. You can configure
how many characters to type per `wait_screen_change` with the
`wait_screen_change` parameter. I wrote this to try and mitigate
an issue we are having where Fedora tests occasionally seem to
exhaust the VM's input buffer and thus miss characters (or repeat
a character a bunch of times, if the VM happens to get a key_down
event but not the key_up event), but it seems generally useful
and may as well go in testapi, I think.

Of course this has limitations: it's no use if the screen will
be changing whether keypresses are received or not (e.g. some
constantly-changing element is present on screen, or a flashing
cursor that's large enough to be considered a 'change' by
`wait_screen_change`), and it's also no use if there is no
screen change in response to the typing (e.g. typing into some
password prompts). It also may cause tests to take quite a long
time to fail if they wind up trying to type without the input
box or whatever highlighted, so the keystrokes don't change the
screen; there'll be several `wait_screen_change` timeouts before
the function eventually returns and a subsequent needle fail or
whatever notices that the test went wrong. This can be mitigated
with sensible needle matching before calling the function.

1164 of 4699 relevant lines covered (24.77%)

5.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1986.1 11 Sep 2016 07:47AM UTC 0
24.77
Travis Job 1986.1
Source Files on build 1986
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1986
  • e87b5e45 on github
  • Prev Build on master (#1981)
  • Next Build on master (#1991)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc