Tim Abbott
0c62dcc9f6
tests: Move casper.page.onError setup outside casper.start().
...
This has no functional impact, it's just for clarity.
(imported from commit 2ec1948929df120a3a410324412912ec062b8500)
2013-03-06 11:36:15 -05:00
Tim Abbott
b861e19654
tests: Write screenshots for all casperjs failures to /tmp/.
...
(imported from commit 4e1a54b89fce76c6923157967ade3d525f5c7f30)
2013-03-06 11:36:15 -05:00
Tim Abbott
0fee4e8d9d
tests: Set casperjs viewport size to a reasonable browser size.
...
Otherwise we're by default testing the phone size layout, which
probably isn't what we want the default test setup to be.
(imported from commit a76b2d51c18824b0a5f6342cce848aca87dda15a)
2013-03-06 11:36:15 -05:00
Zev Benjamin
e588323f5d
tests: Move log int and log out functions into a common.js
...
(imported from commit d6c2f45af775dea9c99426aa46b08ed45eb76d17)
2013-03-05 11:05:12 -05:00