~zsombi/ubuntu-ui-toolkit/theme-as-singleton

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntuuitoolkit/tests/gallery/test_textinput.py

  • Committer: Zsombor Egri
  • Date: 2013-12-13 14:10:39 UTC
  • mfrom: (890 trunk)
  • mto: This revision was merged to the branch mainline in revision 894.
  • Revision ID: zsombor.egri@canonical.com-20131213141039-tt2ra31geou2cgfl
trunk merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        self.assertThat(textfield_numbers.text, Eventually(Equals('123')))
59
59
 
60
60
        self.tap_clearButton('textfield_numbers')
61
 
        self.assertEqual(textfield_numbers.text, '')
 
61
        self.assertThat(textfield_numbers.text, Eventually(Equals('')))
62
62
        #try typing decimal value when text filed is int only.
63
63
        self.type_string('-100.123')
64
64
        self.assertThat(textfield_numbers.text, Eventually(Equals('-100123')))