María Checa
ff872db039
Update changelog
2018-03-28 12:06:37 +02:00
Bertocq
471fe52ecc
Replace deprecated to: for action: at routes
...
Running test suite the following appears: DEPRECATION WARNING: Defining
a route where `to` is a symbol is deprecated. Please change
`to: :json_data` to `action: :json_data`.
2018-03-28 09:21:00 +02:00
Bertocq
c4049efa4a
Fix notification expectations for read ones
2018-03-28 09:19:58 +02:00
Alberto Calderón Queimadelos
0de3c070ee
Merge pull request #2561 from consul/master_spec_fails
...
Improve README code syntax
2018-03-28 09:18:51 +02:00
Bertocq
53533e3809
Improve README code syntax
2018-03-28 09:13:56 +02:00
Raimond Garcia
ab1bb061e8
Merge pull request #2534 from wairbut-m2c/aperez-headless-chrome
...
Migration from PhantomJS to Headless Chrome
2018-03-27 21:53:46 +02:00
Angel Perez
257a338916
Refactor flaky tests to avoid interaction with the UI
2018-03-27 14:47:51 -04:00
Angel Perez
0fce8ca787
Fix incorrect assertion for nested imageable example
...
The example tests if a certain selector is hidden after adding
one image but the assertion expected said selector to be visible,
which made the scenario to fail at random
2018-03-27 14:47:51 -04:00
Angel Perez
dfbf4b8489
Refactor spec to use let syntax to DRY scenarios
2018-03-27 14:47:51 -04:00
Angel Perez
0a6ee897a7
Configure Capybara sessions to reset after each example
2018-03-27 14:47:51 -04:00
Angel Perez
92af93e8bd
Fix failing tests that simulated a click against the DOM
...
The now-deprecated `.trigger('click')` API simulated a click against
the DOM rather a click on the UI, which made our tests fragile and
wouldn't simulate actual user interaction
2018-03-27 14:47:51 -04:00
Angel Perez
ff74d66405
Remove unnecessary extra expectation for 'Voting in booth' scenario
2018-03-27 14:47:50 -04:00
Angel Perez
26f2f2fea6
Refactor test to avoid interaction with non-visible element
2018-03-27 14:47:50 -04:00
Angel Perez
4269627790
Include ChromeDriver as prerequisite
2018-03-27 14:47:50 -04:00
Angel Perez
765d273bdf
Fix failing scenario related to focused DOM element
2018-03-27 14:47:50 -04:00
Angel Perez
eb2926ab42
Fix failing scenario related to Headless Chrome window-size flag
2018-03-27 14:47:50 -04:00
Angel Perez
b3ce674ffc
Enable previously disabled test scenarios
2018-03-27 14:47:50 -04:00
Angel Perez
2d819c0b11
Fix failing spec on CI environments
2018-03-27 14:47:50 -04:00
Angel Perez
ea21fe859b
Format dates with .strftime('%d/%m/%Y') when filling datepickers
...
Advanced search scenarios for Budget::Investments, Debates and
Proposals need proper date formatting as they behave unexpectedly
when APIs such as `7.days.ago` are used
2018-03-27 14:47:49 -04:00
Angel Perez
375c43b5f1
Replace deprecated .trigger('mouseover') API with .hover
2018-03-27 14:47:49 -04:00
Angel Perez
5c53466e86
Remove unnecessary status code related assertion
2018-03-27 14:47:49 -04:00
Angel Perez
450e8597eb
Disable JavaScript on IE-specific scenarios
2018-03-27 14:47:49 -04:00
Angel Perez
ceb38739c7
Use absolute paths for fixtures
2018-03-27 14:47:49 -04: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
Angel Perez
38af45d450
Replace deprecated .trigger('click') API with .click
2018-03-27 14:47:49 -04:00
Angel Perez
6a55b720b8
Configure Travis CI to use Chrome addon, install ChromeDriver
2018-03-27 14:47:48 -04:00
Angel Perez
0bf4afe8bc
Replace PhantomJS/Poltergeist config with Headless Chrome
2018-03-27 14:47:48 -04:00
Angel Perez
e098e7b7bb
Replace poltergeist with selenium-webdriver
2018-03-27 14:47:48 -04:00
Raimond Garcia
0b4b896a6a
Merge pull request #2522 from wairbut-m2c/fix/dev_seed_flaky_spec_backport
...
Fix `rake db:dev_seed` task flaky spec
2018-03-27 20:22:28 +02:00
Raimond Garcia
4260c05f30
Merge pull request #2537 from consul/budgets-ui
...
Fixes budgets ui for all phases
2018-03-27 20:21:45 +02:00
Raimond Garcia
678faa17ec
Merge pull request #2539 from consul/admin-budget-investments
...
Admin budget investment info
2018-03-27 20:21:03 +02:00
Raimond Garcia
f76ad2be84
Merge pull request #2540 from consul/user_segment_except_budget_supporters
...
User segment for users that haven't supported in budget
2018-03-27 20:13:57 +02:00
Raimond Garcia
c83dc13c56
Merge pull request #2538 from consul/admin-users
...
Admin users
2018-03-27 20:12:53 +02:00
Raimond Garcia
9526f489b7
Merge pull request #2550 from wairbut-m2c/docs/add-missing-nodejs-requirement
...
Add Node.js as requirement on README (spanish)
2018-03-27 20:05:07 +02:00
Raimond Garcia
9290f31d88
Merge pull request #2552 from consul/budgets_map_improvements
...
Backport: Budgets map improvements
2018-03-27 17:49:23 +02:00
María Checa
4713d37346
Add budget/investments#json_data method permissions
2018-03-27 15:26:48 +02:00
María Checa
064089926d
Add ajax request for marker investment info
2018-03-27 15:26:46 +02:00
María Checa
535a96603a
Add budget/investments#json_data method
2018-03-27 15:25:55 +02:00
María Checa
cd1a0548ba
Add map_location#json_data method
2018-03-27 15:17:31 +02:00
Bertocq
7bfaf3c9c1
Fix read notifications translations
2018-03-27 00:29:41 +02:00
Alberto Calderón Queimadelos
3b1d79f3bc
Merge pull request #2545 from consul/loofah_gem_update
...
Update loofah gem to 2.2.1 version
2018-03-26 21:11:17 +02:00
Angel Perez
92d7c44639
Add Node.js as requirement on README (spanish)
2018-03-25 21:46:40 -04:00
Raimond Garcia
0300d971b7
Merge pull request #2549 from consul/read_notifications
...
Extend notifications to be marked as read or unread
2018-03-23 22:30:23 +01:00
rgarcia
c9cad05a95
Fix dev seed specs
2018-03-23 19:57:51 +01:00
rgarcia
b35c750865
Remove unrelated budget recommendation's link
...
During the backport for “Read Notifications”[1] this link was added,
which belongs to a different backport “Budget Recommendations” which is
not quite ready to bring to upstream, yet 😌
[1] https://github.com/AyuntamientoMadrid/consul/pull/1304
2018-03-23 19:31:48 +01:00
Bertocq
92c9ad4e1b
Add Notifications partial to admin menu
2018-03-23 11:48:43 +01:00
decabeza
6824086f30
Adds styles for notifications views
2018-03-23 11:48:28 +01:00
rgarcia
f7bfe5e171
Extend dev seeds to have notifications for all users
...
Even though an action that triggers a notification is made, the
notification is created in a separate step, reflecting how it is done
in the corresponding controller
https://github.com/AyuntamientoMadrid/consul/blob/master/app/controllers
/comments_controller.rb#L16
2018-03-23 11:48:16 +01:00
rgarcia
09c44ee583
Extend notifications to be marked as read and unread
2018-03-23 11:47:06 +01:00
Raimond Garcia
c4ad9b940c
Merge pull request #2546 from consul/vote_in_multiple_headings
...
Allow supporting investments on more than one heading per group
2018-03-22 23:33:24 +01:00