Florian Staudacher
90387e83f8
speed up cukes by deferring GC
...
-> https://makandracards.com/makandra/950-speed-up-rspec-by-deferring-garbage-collection
this speeds up tests from 9min 47sec to 9min 16sec on my machine
(6% improvement)
2012-04-05 16:01:58 +02:00
Maxwell Salzberg
78146a95d9
try a much longer wait time and see if that makes things pass on travis :*(
2012-04-03 23:03:11 -07:00
Maxwell Salzberg
cf3776fde2
remove webmock from cucumber to try and fix the travis timeout errors :(
2012-04-03 22:16:51 -07:00
Maxwell Salzberg
ef74a06d85
reduce timeout to maybe get cukes to pass
2012-04-03 18:04:08 -07:00
Maxwell Salzberg
0986e412de
well that didnt work... Revert "try reconnecting after every cuke for postgres only to try and deal with travis issues"
...
This reverts commit 1604aedf03 .
2012-04-03 17:59:51 -07:00
Maxwell Salzberg
1604aedf03
try reconnecting after every cuke for postgres only to try and deal with travis issues
2012-04-03 17:27:28 -07:00
danielgrippi
5459d07339
bump capybara timeout to avoid timeout errorsdefine cucumber step to be pending so travis doesn't freak out
2012-04-03 16:43:44 -07:00
danielgrippi
3bc3f13651
upgrade backbone, fix tests
...
some cukes may be failing non deterministically, I think, do we bump the cuke timeout?
2012-04-03 16:31:52 -07:00
Maxwell Salzberg
adf85e1ec6
adding a bit to tubbo's spork branch
2012-03-31 01:22:46 -04:00
Dennis Collinson
34bdc09763
simplify env.rb for great justicethe jquery hack was messing up cukes, killed that
2012-03-29 11:51:32 -07:00
danielgrippi
f72f1d4059
more progress
2012-03-27 18:07:22 -07:00
Maxwell Salzberg
62b222020d
allow localhost in cukes
2012-02-09 17:54:56 -08:00
Maxwell Salzberg
7109cf6c67
mock out slow things that our tests dont need for speed
2012-02-09 17:44:32 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
danielgrippi
ebab307b3d
fix require in cucumber
2012-02-01 16:47:32 -08:00
Maxwell Salzberg
a1b389c365
SM MS; stub jquery in cukes, cleanup env.rb
2012-01-07 13:07:45 -08:00
Jonne Hass
8f13f2182e
ensure the expected port is actually used by cucumber
2011-12-10 12:54:39 +01:00
danielgrippi
f4c9b548f9
update cucumber and capybara. one failing cuke.
2011-12-07 18:40:39 -08:00
Gonzalo Rodriguez
0de6512789
Decrease cukes default wait time
...
This will not fix cukes, but at least travis is going
to throw failures output instead of timing out
2011-11-22 00:18:14 -02:00
Sarah Mei & Tim Frazer
ebad0f5ec3
Don't try to follow diasporahq during cucumber tests
2011-11-14 16:55:59 -08:00
danielgrippi
b46200224e
cukes are green again
2011-10-17 17:45:45 -07:00
Maxwell Salzberg
8029cb0784
SM MS basic api wip. able to get a users public profile
2011-10-15 18:57:13 -07:00
Sarah Mei
22b65bd3c1
Mock out more jobs that might make outside calls
2011-09-05 14:31:00 -07:00
Sarah Mei
fa54b1dca2
Mock out pubsubhubbub in cucumber
2011-09-05 13:35:11 -07:00
Sarah Mei
cac4b1ba4e
Ridiculously long cucumber timeout so we're more resiliant to travis traffic
2011-09-05 12:08:29 -07:00
Sarah Mei
b1dc5f4aee
Only delete cookies if running in an actual browser.
2011-09-04 13:14:32 -07:00
Sarah Mei
5b54f84ad2
Clear cookies between features.
2011-09-04 12:26:58 -07:00
Sarah Mei
f23658f9a2
Up the default wait time so travis is happier.
2011-09-03 19:57:03 -07:00
Raphael Sofaer
c7331230bc
Revert "Revert "Revert "remove uploaded test images after running the specs/cucumber"" -- using == now instead of ="
...
This reverts commit b11bd23da2 .
2011-08-18 12:06:04 -07:00
danielgrippi
b11bd23da2
Revert "Revert "remove uploaded test images after running the specs/cucumber"" -- using == now instead of =
...
This reverts commit 7969b52035 .
2011-08-18 11:20:49 -07:00
danielgrippi
7969b52035
Revert "remove uploaded test images after running the specs/cucumber"
...
This reverts commit a6eb275c7a .
2011-08-18 11:11:08 -07:00
danielgrippi
a6eb275c7a
remove uploaded test images after running the specs/cucumber
2011-08-18 11:08:57 -07:00
Raphael Sofaer
d33282cbf6
Make cucumber think that facebook has been configured
2011-08-05 11:52:35 -07:00
Sarah Mei
b7b1c6b276
Fix interaction between I18n fallbacks and our interpolation fallback code. Refactor I18n tests into their own file. Remove some test support code that made it hard to test I18n.
2011-07-30 22:41:46 -07:00
Sarah Mei
7bfd695483
Patch Capybara to get rid of cucumber deprecation warnings
2011-07-14 17:55:03 -07:00
Raphael Sofaer
84eb8a7063
Render a little bit less in the IntegrationSessionsController
2011-07-04 16:07:05 -07:00
Raphael Sofaer
a715630471
make cucumber faster by logging in through a much simpler stubby controller. Save about 1m on my laptop.
2011-07-04 08:11:12 -07:00
Maxwell Salzberg
e720fc097d
chubbies tests mow take diaspora handle
2011-06-03 16:24:12 -07:00
Raphael Sofaer
495dd89dd2
Fix password reset, add cucumber feature
2011-05-16 15:54:18 -07:00
Raphael Sofaer
2517653d34
Red feature for infinite scroll after changing aspects
2011-04-26 17:28:42 -07:00
danielgrippi
68479481cf
made websockets far less dumb. don't render partials for people not connected.
2011-03-15 18:21:09 -07:00
Raphael Sofaer
aaaa00f1c9
Fix cucumber features
2011-02-09 16:34:03 -08:00
maxwell
465dd9ba96
check to see if rails is already loaded in a couple of places
2011-01-19 13:30:12 -08:00
Raphael
738e8c65c8
Merge almost complete, 4 failures
2011-01-14 16:00:10 -08:00
Alec Leamas
8d218e7871
suburi cucumber test.
...
Adds the features/uri-features test directory, testing sub-uri
deployment. These tests uses script/server since much of this code is
about configuring the server. They are not run by "rake cucumber", to
run them use "bundle exec rake cucumber features/uri-test".
Tests requires a working app_config.yml setup with pod_url =
"http://localhost:3000/diaspora "
Patches cucumber.yml to always load step definitions from features/**, see
http://thoughtsincomputation.com/posts/cucumber-step-definitions-and-autorequire-hell
2010-12-29 10:31:25 +01:00
Sarah Mei
2184af09d9
Patch database_cleaner to actually, you know, work.
2010-12-28 22:23:27 -08:00
Sarah Mei
fd74b79b61
do clean before each scenario so db doesn't get into borked state
2010-12-28 20:58:16 -08:00
Sarah Mei
6f1aee990c
Database is cleaned between scenarios. Progress?
2010-12-28 20:03:58 -08:00
Sarah Mei
0e2fa40539
cucumber not quite as jacked on mysql
2010-12-26 12:46:48 -08:00
danielvincent
b1c0facfe6
initiating a request now just creates a pending contact instead of persisting a request
2010-12-14 17:11:43 -08:00