Commit Graph

25 Commits

Author SHA1 Message Date
Juan Salvador Pérez García
5b5095b37b Bugfixing and several enhancements
* Added missing specs
* Removed models that were refactored previously
* Added simplecov when executing specs locally
* Fixed bug in poll model validation that was causing an 500 error.
2018-08-01 13:26:30 +02:00
Juan Salvador Pérez García
e1ac6bfa01 Fixed issue shown resources in the dashboard 2018-07-17 17:52:48 +02:00
Juan Salvador Pérez García
03e8d36fd1 Chaned max wait time for capybara 2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
633cf688b2 Increased wait time for capybara 2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
53ce073b11 Changes in specs
Increased the default_max_wait_time parameter trying to get rid of a
weird issue
2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
9f27d73240 Fixed failing specs
Fixed failing specs due to turbolinks not being able to load the page
befor Capybara.default_max_wait_time seconds.

Added gem that creates screenshots of failing specs.
2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
d8d458f1db Fixed test environment inside docker 2018-07-17 17:50:05 +02:00
Angel Perez
eb2926ab42 Fix failing scenario related to Headless Chrome window-size flag 2018-03-27 14:47:50 -04:00
Angel Perez
0bf4afe8bc Replace PhantomJS/Poltergeist config with Headless Chrome 2018-03-27 14:47:48 -04:00
rgarcia
7b7a426f6a Run Coveralls only in Travis CI
We were seeing a log message when running specs locally

```
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
```

As Coveralls is mainly used in Travis CI, we do not need to load it in
every spec run
2018-02-06 12:22:34 +01:00
Bertocq
1441de5107 Enable RSpec/HookArgument cop and fix issues
To be consistent about before/after arguments, as `:each` or `:example`
 are same and default scopes, best not to send an argument in those
 scenarios.

Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HookArgument
2018-01-07 02:07:19 +01:00
Amaia Castro
551e8dc6c1 Increase Poltergeist timeout in specs
This is to try to avoid flaky js specs in Travis
2017-01-19 13:38:06 +01:00
Juanjo Bazán
4a888e95c2 disables js fx in specs via poltergeist config 2016-03-04 12:26:47 +01:00
Alberto Garcia Cabeza
3752f3a53b Adds foundation 6 🎉 2016-02-26 19:33:33 +01:00
kikito
eda47effc4 Configures tests to minimize flackyness
Reference: https://bibwild.wordpress.com/2016/02/18/struggling-towards-reliable-capybara-javascript-testing/

The only thing I did not do was removing the random order in the tests.
2016-02-24 11:37:07 +01:00
kikito
e3cbae4f02 Makes capybara exact. Should fix some randomly-failing specs 2015-09-02 18:05:43 +02:00
David Gil
de15bbe911 adds feature tests for sign up and sign using OAuth 2015-08-25 14:15:04 +02:00
rgarcia
c2091f570c integrates coveralls in test suite 2015-08-05 14:16:58 +02:00
Juanjo Bazán
9073037a45 makes test suite default to :en locale
ref: #38
2015-07-28 12:52:10 +02:00
kikito
be173ff581 removes use_transaction_fixtures from rails_helper
It is already configured in spec_helper.rb (and makes other things fail)
2015-07-27 19:07:02 +02:00
kikito
1e2f8704a5 Change order in requires to fix tests 2015-07-27 19:01:06 +02:00
rgarcia
0aaa8169f0 tmp commit [#21] 2015-07-27 11:12:55 +02:00
rgarcia
8f78509b0c adds basic devise feature specs 2015-07-17 19:53:19 +02:00
rgarcia
223eb06da2 configures capybara [#4] 2015-07-16 17:07:12 +02:00
rgarcia
4aa16e78c2 configure rspec 2015-07-15 13:59:26 +02:00