Merge lp:~osomon/webbrowser-app/slower-typing into lp:webbrowser-app

Proposed by Olivier Tilloy
Status: Merged
Approved by: Günter Schwann
Approved revision: 228
Merged at revision: 229
Proposed branch: lp:~osomon/webbrowser-app/slower-typing
Merge into: lp:webbrowser-app
Diff against target: 19 lines (+1/-2)
1 file modified
tests/autopilot/webbrowser_app/tests/__init__.py (+1/-2)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/slower-typing
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Günter Schwann (community) Approve
Review via email: mp+175745@code.launchpad.net

Commit message

Slow down the typing, as it seems a lot of characters are eaten up when running the tests on a device.

To post a comment you must log in.
Revision history for this message
Günter Schwann (schwann) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/webbrowser_app/tests/__init__.py'
2--- tests/autopilot/webbrowser_app/tests/__init__.py 2013-06-06 15:47:00 +0000
3+++ tests/autopilot/webbrowser_app/tests/__init__.py 2013-07-19 07:12:28 +0000
4@@ -25,7 +25,6 @@
5
6
7 HTTP_SERVER_PORT = 8129
8-TYPING_DELAY = 0.001
9
10
11 class BrowserTestCaseBase(AutopilotTestCase):
12@@ -163,7 +162,7 @@
13 def type_in_address_bar(self, text):
14 address_bar = self.main_window.get_address_bar()
15 self.assertThat(address_bar.activeFocus, Eventually(Equals(True)))
16- self.keyboard.type(text, delay=TYPING_DELAY)
17+ self.keyboard.type(text)
18 text_field = self.main_window.get_address_bar_text_field()
19 self.assertThat(text_field.text, Eventually(Contains(text)))
20

Subscribers

People subscribed via source and target branches

to status/vote changes: