mitro-co/mitro

Selenium tests do not work

Opened this issue · 1 comments

It looks like the element with the class "form-link" was later removed, making the functional tests fail.

Traceback (most recent call last):
  File "chrome/test.py", line 1750, in <module>
    main()
  File "chrome/test.py", line 1732, in main
    tester.test_signup()
  File "chrome/test.py", line 778, in test_signup
    cancel_link = self._driver.find_element_by_class_name('form-link')

(...)

selenium.common.exceptions.NoSuchElementException: Message: u'no such element\n  (Session info: chrome=37.0.2062.122)\n  (Driver info: chromedriver=2.10.267517,platform=Mac OS X 10.9.2 x86_64)'
make: *** [test] Error 1

Oh yeah, the Selenium tests are super broken: we decided that maintaining them was too much work for too little reward at some point. The unit tests should work though.