[pitivi] dogtail tests: Use real typing for searching the media library
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] dogtail tests: Use real typing for searching the media library
- Date: Wed, 25 Jul 2012 11:56:44 +0000 (UTC)
commit 0371e17469f1181866b2d0c0efdbe68bf04df115
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Sun Jul 22 13:46:35 2012 -0400
dogtail tests: Use real typing for searching the media library
tests/dogtail_scripts/test_medialibrary.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tests/dogtail_scripts/test_medialibrary.py b/tests/dogtail_scripts/test_medialibrary.py
index 1a12fa7..ac0d9ab 100644
--- a/tests/dogtail_scripts/test_medialibrary.py
+++ b/tests/dogtail_scripts/test_medialibrary.py
@@ -22,9 +22,11 @@ class MediaLibraryTest(HelpFunc):
iconview = tab.child(roleName="layered pane")
self.assertEqual(len(iconview.children), 3)
search = tab.textentry("")
- search.text = "colour2"
+ search.click()
+ search.typeText("colour2")
self.assertEqual(len(iconview.children), 1)
- search.text = "640"
+ search.text = ""
+ search.typeText("640")
self.assertEqual(len(iconview.children), 2)
search.text = ""
self.assertEqual(len(iconview.children), 3)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]