Commit Graph

16 Commits

Author SHA1 Message Date
Justin SB
828debbeb4 Add a sleep to the CSS HCP test 2014-10-10 02:58:49 -07:00
Justin SB
5e2cb2bfc5 Remove 'random' pauses in HCP tests; insert the one which works
Still better to fix this properly, but this gives us a single starting point
2014-10-04 17:16:03 -07:00
Justin SB
d26387fdd7 More delays in JS HCP self-test 2014-09-19 20:45:07 -07:00
Justin SB
4d572fcc1d Insert some pauses to see if this does indeed fix the self-test
This would be a hack, but it does seem to work
2014-09-19 20:17:58 -07:00
Emily Stark
404f1cc17e Remove trailing commas 2014-09-09 16:41:06 -07:00
Matthew Arbesfeld
0bf177ca0b Create more hot code push tests and let --browserstack use many browsers. 2014-08-29 11:07:13 -07:00
Matthew Arbesfeld
c9476a350f Fix typo in autoupdate and bump autoupdate package version. 2014-08-13 17:36:12 -07:00
Matthew Arbesfeld
1f6f15dc20 Fix autoupdate in cases where Autoupdate.autoupdateVersion is set.
If Autoupdate.autoupdateVersion is set outside of the Autoupdate
package, we wouldn't notify the client of the new version. This
patch simplifies the updating logic by only having one document
per version type.
2014-08-10 17:27:22 -07:00
Matthew Arbesfeld
4d288bd39b Fix the case where the autoupdateVersion and autoupdateVersionRefreshable
strings are identical in the autoupdate package.

If the server set AUTOUPDATE_VERSION, this case was alsways triggered.
2014-08-06 17:36:12 -07:00
David Glasser
ddc3657e4f Watch files which fail before emitting a resource
Regression introduced by the CSS watching code (specifically, f230eba62)
by the sourceIsWatched check. We need to be able to tell the difference
between "source handler didn't do anything because there was an error"
and "source handler didn't do anything because it's web-specific and
this is an os arch".

A simple fix would have been to interpret compileStep.error as
"sourceIsWatched = true", but I didn't think of that until after doing
it the slightly more complicated but more precise way :)

Also, ensure that if the runner rebuilds the client and there's an
error, it properly kills the app process (and the watchers and the
keepalive interval, etc).
2014-08-04 21:32:22 -07:00
David Glasser
ab804499ca fix hot code push test to create directories
presumably this was previously tested on a checkout where
tools/tests/apps/hot-code-push-test/client existed, but git doesn't know
how to check in empty directories.  (another alternative would be to
check in a dummy file in that directory)
2014-07-21 16:38:39 -07:00
Matthew Arbesfeld
0fc0fce64a Fix Avi's comments. 2014-07-09 10:53:21 -07:00
Matthew Arbesfeld
ee0b9eea51 Update tests 2014-07-09 10:31:44 -07:00
Matthew Arbesfeld
4b88e70629 Fix client css insert 2014-07-09 10:31:44 -07:00
Matthew Arbesfeld
f230eba62b Client CSS and template injection. 2014-07-09 10:31:44 -07:00
Matthew Arbesfeld
ff3c9746f0 Implement client side testing for self-test.
This patch enables a user to pass --phantomjs and/or --browserstack to
`meteor self-test` to run tests against a connected client.
2014-07-01 18:12:07 -07:00