Open fcurella opened 8 years ago
Oh wow. Good catch.
This is about selenium not being able to find the log in link because it's hidden behind the django toolbar. Apparently after the toolbar 'hide' was clicked, it didn't wait long enough for it to disappear before it tried to click on the log in link. I think perhaps your computer was running slowly at that point.
This step: Click: djHideToolBarButton shouldn't actually be there. To mitigate this problem and remove the need for having "click: djHideToolBarButton" in every test, you can put the following lines of code at the end of the load_website(self) method:
self.click("djHideToolBarButton")
self.wait_to_appear("sign-up-link")
This reminds me I should submit a pull request to cookiecutter-django to fix this problem.
The "TypeError: string indices must be integer" appears to be a bug in selenium. It ought to give a more meaningful message than that.
Hi,
I"m try running hitch for the first time, and I'm encountering a 'string indices must be integer' error when clicking on a link.
I've verified the link existing and I can click it from IPython:
I'm using the code straight from this template https://github.com/pydanny/cookiecutter-django/tree/master/%7B%7Bcookiecutter.repo_name%7D%7D/tests and running OS X Yosemite + FFox 43.0.4