angular/angular-phonecat — pull request #83 by svemir (2013-10-20 00:46:28+00:00)
Title: Use ng-click so image change can be tested

e2e test methods such as click() and mouseover() for some reason do not trigger the ng-mouseenter action.

Even after changing the view to use ng-click instead, test in step12 (and in the master branch) was still failing because the animation takes time.

Also, it seems that the test was not changed to account for other changes from previous steps.

This uses sleep(1) to allow the animation to complete, and verifies that the correct elements got or received the active class.