Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing Google search and Yahoo search elements for acceptance tests

  • Loading branch information...
commit 65cf4ffaeab9c834f8a00ad3b64f139600ba8b7a 1 parent afc223c
@diogobaeder diogobaeder authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/acceptance/action_tests/pages.py
View
4 tests/acceptance/action_tests/pages.py
@@ -21,13 +21,13 @@ class GoogleSearch(Page):
def register(self):
self.register_element('query', '//input[@name="q"]')
- self.register_element('search', '//input[@name="btnG"]')
+ self.register_element('search', '//button')
class YahooSearch(Page):
url = "http://search.yahoo.com/search?p=<query>"
def register(self):
- self.register_element('search', '//input[@id="yschsp"]')
+ self.register_element('search', '//input[@type="text"]')
class OtherYahooSearch(Page):
url = "http://search.yahoo.com/search?p=<query>&b=<offset>"
Please sign in to comment.
Something went wrong with that request. Please try again.