Change product list to return strings not WebElements #126

Merged
merged 2 commits into from Apr 19, 2012

Projects

None yet

3 participants

@zacc zacc commented on an outdated diff Apr 19, 2012
tests/test_smoke_tests.py
@@ -33,7 +33,7 @@ def test_that_options_are_sorted_the_same(self, mozwebqa):
Assert.equal(len(nav_product_list), len(search_product_list))
for i, prod_item in enumerate(nav_product_list):
- Assert.equal(prod_item.text, search_product_list[i].text)
+ Assert.equal(prod_item, search_product_list[i].text)
@zacc
zacc Apr 19, 2012 Contributor

This step fails:

E AttributeError: 'unicode' object has no attribute 'text'
tests/test_smoke_tests.py:36: AttributeError

@zacc
Contributor
zacc commented Apr 19, 2012

LGTM.

@m8ttyB
Collaborator
m8ttyB commented Apr 19, 2012

lgtm and no more attribute errors

@m8ttyB m8ttyB merged commit 81aa938 into mozilla:master Apr 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment