1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 04:46:09 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
tntim96
7079696db6 Upgrade example to run with Jasmine 2.4.1
https://github.com/ariya/phantomjs/issues/14280
2018-03-06 13:14:26 -08:00
Steven Masala
9ac8cccf0a Add "use strict"; declaration to all example scripts.
modernizr.js is not modified because it's not our code.

En passant fixes:
 * Delete two scripts that depended on a Yahoo service that
   appears no longer to exist.
 * The PhantomJS website no longer has a leading www.
 * One script needed correction to *work* in strict mode.
 * One script would only exit if a page loaded successfully.
   (There may be other instances of this problem, this is the
   one I noticed.)
2015-12-22 10:29:53 +03:00
Paul Morelle
e2a048a82c examples/run-jasmine2.js: Avoid exception when no tests were run.
When all tests were skipped, or when no tests were found, run-jasmine2.js
would raise an exception because ".alert > .bar.passed" doesn't exist. As
".alert > .bar.skipped" exists instead, and has similar interesting
content, let's use it!
2015-12-21 11:19:26 -05:00
Alex Nicksay
f25c4f11e1 Fix example runner for Jasmine 2.3
Some banner elements (particularly the test run duration) have moved; this
change extracts the text values from the new locations.  Also, the test run
duration is now populated after all tests are run, so include it as a "complete"
condition in the `waitsFor` function.

Closes #13459
2015-11-23 21:25:06 +03:00
paulo alem
15d0636b70 Runner for jasmine 2
The old script needed some updates in order to support the new jasmine lib
2014-02-14 19:27:14 -02:00