mitro-co / mitro

Repository for all Mitro client & server code
GNU General Public License v3.0
1.64k stars 242 forks source link

Selenium tests do not work #66

Open dhovart opened 10 years ago

dhovart commented 10 years ago

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
evanj commented 10 years ago

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.