Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: third_party/gsutil/boto/tests/mturk/selenium_support.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 from __future__ import absolute_import 1 from __future__ import absolute_import
2 from boto.mturk.test.support import unittest 2 from boto.mturk.test.support import unittest
3 3
4 sel_args = ('localhost', 4444, '*chrome', 'https://workersandbox.mturk.com') 4 sel_args = ('localhost', 4444, '*chrome', 'https://workersandbox.mturk.com')
5 5
6 class SeleniumFailed(object): 6 class SeleniumFailed(object):
7 def __init__(self, message): 7 def __init__(self, message):
8 self.message = message 8 self.message = message
9 def __nonzero__(self): 9 def __nonzero__(self):
10 return False 10 return False
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 sel.wait_for_page_to_load("30000") 52 sel.wait_for_page_to_load("30000")
53 sel.open("/mturk/preview?groupId={hit_type_id}".format(**vars())) 53 sel.open("/mturk/preview?groupId={hit_type_id}".format(**vars()))
54 sel.click("/accept") 54 sel.click("/accept")
55 sel.wait_for_page_to_load("30000") 55 sel.wait_for_page_to_load("30000")
56 sel.type("Answer_1_FreeText", response) 56 sel.type("Answer_1_FreeText", response)
57 sel.click("//div[5]/table/tbody/tr[2]/td[1]/input") 57 sel.click("//div[5]/table/tbody/tr[2]/td[1]/input")
58 sel.wait_for_page_to_load("30000") 58 sel.wait_for_page_to_load("30000")
59 sel.click("link=Sign Out") 59 sel.click("link=Sign Out")
60 sel.wait_for_page_to_load("30000") 60 sel.wait_for_page_to_load("30000")
61 sel.stop() 61 sel.stop()
OLDNEW
« no previous file with comments | « third_party/gsutil/boto/tests/mturk/search_hits.doctest ('k') | third_party/gsutil/boto/tests/mturk/support.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698