Marko Lovic
601e3058d8
Add visible_to_valuators and author username to admin investments CSV
...
Backport based on 012e4be by María Checa from AyuntamientoMadrid/consul fork
2018-07-25 15:10:56 +02:00
decabeza
f213768035
Removes duplicated spec
2018-07-05 18:14:22 +02:00
decabeza
55097ac643
Updates specs for show to valuators checkbox
2018-06-08 18:59:53 +02:00
iagirre
73b0fe5162
Modified feature spec to pass with the new UI
...
Add feature spec to test if the 'Calculate winners'
button is enabled or not, depending on the phase.
It also checks the message that clarifies why the
button is disabled.
2018-05-29 10:27:16 +02:00
Alberto
1e8f4c7f32
Merge pull request #2342 from wairbut-m2c/iagirre-budgets-column-show-valuators
...
Budget: add column show to valuators
2018-04-30 17:49:15 +02:00
Bertocq
33b6fa3a02
Refactor Investment csv download with filters test
...
There's no need to check again headers in this scenario, previous one
already does it.
Correctly naming variables, as well as using explicit expectations is a
good idea.
Last but not least, expectations where reversed but by luck or lack of
attention where passing.
2018-04-11 21:32:59 +02:00
Bertocq
71003875ae
Refactor Investment CSV export download scenario
...
The created investment didn't had all data to correctly assert each
column values are correctly exported.
The expectations checking if each particular text appears are invalid in
this test. The objective is to check that the downloaded file contents
are exactly as they should be... not particular parts checked in an
independent way as for example "Yes" could appear in two different
columns and just looking if the text appears is not a valid assertion.
2018-04-11 21:32:57 +02:00
Bertocq
1dc8d29f2d
Add Valuator Groups list to investment csv & table
...
We've added the list of valuator groups assigned to each investment at
both admin investment list and investment csv exported file
2018-04-11 21:12:46 +02:00
iagirre
d02b3e0486
Modifications to the spec to avoid using wait_for_ajax
2018-04-09 15:02:35 +02:00
iagirre
e2a91c6cc8
Modified the investments partial to fit the new budget_investments UI: valuating filter name has changed to under_valuation.
...
Modified the specs to fit the new UI for budget_investments
2018-04-09 15:02:35 +02:00
iagirre
b8cc10d218
Fix conflics after rebase
2018-04-09 15:02:35 +02:00
rgarcia
7386a39f2d
Fix specs
2018-04-04 13:21:21 +02:00
rgarcia
00c965b715
Clean up
2018-04-04 13:19:01 +02:00
rgarcia
1152f95965
Display valuator group assignments
2018-04-03 20:56:31 +02:00
rgarcia
fcb377c9e5
Remove description when creating valuator from index
2018-04-03 20:56:31 +02:00
rgarcia
7e839e7815
Filter by valuator group
2018-04-03 20:56:31 +02:00
rgarcia
ab498d6d93
Assign groups to investments
2018-04-03 20:55:44 +02:00
Angel Perez
122b17033b
Use Selenium API to accept/dismiss JS modals/browser alerts
...
JS modals/browser alerts are not automatically accepted now with
Selenium, events that trigger such events must be wrapped in one
of the following methods: `accept_alert`, `accept_confirm` or
`dismiss_confirm`
2018-03-27 14:47:49 -04:00
decabeza
acebb07ddd
Adds link to image and docs on admin budget investment info
2018-03-14 15:14:47 +01:00
Bertocq
d3a572e542
Avoid explicity ID values on fixtures if possible
...
The specs don't care about the actual ID value, only about using the
same value. Fixed ID values cause flaky specs and high maintenance issues
2018-03-08 14:48:07 +01:00
Bertocq
9aa6d646d4
Remove usage of instance variables at specs
2018-02-10 19:34:54 +01:00
Bertocq
d3d5b233c2
Increase admin investment feature spec for valuation comments feature
2018-01-31 17:08:08 +01:00
Angel Perez
47c9b343ee
Admins can search investments by title or ID ( #2401 )
2018-01-31 09:52:55 -04:00
Angel Perez
137aa7e779
Add spec to test aggregation when filtering investments
2018-01-31 07:21:51 -04:00
BertoCQ
f0f41b0403
Merge pull request #2373 from consul/single_heading_group_names
...
Improve heading names at select boxes
2018-01-31 02:35:11 +01:00
Bertocq
093b191f16
Small rubocop autocorrections
2018-01-30 03:07:52 +01:00
Raimond Garcia
b5cb5e2563
Merge pull request #2387 from wairbut-m2c/show_only_current_budget_tags_in_admin_budget
...
Show only current budget tags in admin budget
2018-01-29 20:14:10 +01:00
Vicente Mendoza
45a86d0db8
Added test to verify that the search of the tags is only from the current budget
2018-01-26 11:31:14 +01:00
Angel Perez
e04dc5b8f2
Add sorting options for Admin::BudgetInvestments ( #2336 )
2018-01-25 08:18:04 -04:00
Angel Perez
680ca46ef1
Add search form for Admin::BudgetInvestments ( #2336 )
2018-01-25 08:16:32 -04:00
decabeza
12fbd50fc4
updates specs
2018-01-25 11:14:06 +01:00
Bertocq
e0abb86267
Update specs for new heading options naming rules
...
* Update budget heading order scenario to check new option name rules
* Update other scenarios that were expecting old heading naming convention
2018-01-24 14:15:10 +01:00
Angel Perez
1027896617
Reenable 'winners' tab under Admin::Budget::Investment
2018-01-22 14:04:57 -04:00
Angel Perez
a79e60ecd1
Add spec for Admin::Budget::Investment 'max_per_heading' filter
2018-01-22 14:04:56 -04:00
Angel Perez
dddf026a59
Adapt Admin::Budget::Investment failing specs to new filter UI
2018-01-22 14:04:56 -04:00
María Checa
4d97d349a1
Added tests for alert
2018-01-17 19:11:48 +01:00
BertoCQ
61f52b3483
Merge pull request #2293 from wairbut-m2c/aperez-fix-deprecation-warnings
...
Fix for test suite deprecations warnings
2018-01-15 18:23:42 +01:00
Bertocq
db051beabc
Fix to_not to not_to on spec
2018-01-10 22:43:52 +01:00
María Checa
02f7e423fe
Improved tests
2018-01-10 13:03:52 +01:00
Angel Perez
9a0eca73d7
Fix: Deprecation warnings when running test suite ( #2287 )
2018-01-09 17:54:46 -04:00
Raúl Fuentes
29018e3062
changes made at the request of voodoorai2000
2018-01-09 13:08:03 +01:00
Raúl Fuentes
b3461b2051
final details
2018-01-09 12:45:30 +01:00
Raúl Fuentes
4f096a005d
more style corrections
2018-01-09 12:45:30 +01:00
Raúl Fuentes
d7cc5d14c6
fixed test
2018-01-09 12:45:30 +01:00
Raúl Fuentes
56f4c3c3b9
added test to csv download and style corrections
2018-01-09 12:45:30 +01:00
María Checa
c27e6ab1d1
Merge pull request #2223 from wairbut-m2c/iagirre-prevent-edition-if-budget-final-phase
...
Prevent edition of investments if budget is in the final phase
2018-01-09 12:18:23 +01:00
Bertocq
34bb9d65b1
Enable RSpec/NotToNot cop and fix all issues
...
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NotToNot
2018-01-07 17:39:48 +01:00
iagirre
64aaa97d86
Add feature specs to check that edit links and "Selected" buttons are not displayed/enabled.
...
"Selected" button appears as text instead of dissapearing completely.
2017-12-27 16:23:21 +01:00
Manuel Ortega
12ac758e8e
Added investment's user generated tags to admin interface form
2017-10-17 18:11:29 +02:00
rgarcia
eb89d92320
fixes flaky spec
...
Visits directly the page to avoid flakiness
2017-09-19 15:14:29 +02:00