Javi Martín
0945f046a3
Avoid using xpath in specs
...
Using xpath is usually harder to read and more fragile.
2018-10-04 16:31:00 +02:00
Javi Martín
959270b0bb
Separate setup, actions and expections in specs
2018-10-04 16:31:00 +02:00
Javi Martín
2fb5fb5fb2
Add missing newline characters
2018-10-04 16:31:00 +02:00
Javi Martín
81871a56f8
Simplify legislation process specs
...
We kill two birds with one stone and also make each line less than 100
characters long.
2018-10-04 16:30:59 +02:00
Javi Martín
7d69f2aaab
Properly test order by ID
...
By default records are already ordered by ID, so we weren't checking the
ordering by ID functionality was working properly.
Making the records be ordered by title first makes the test a bit more
reliable.
2018-10-04 16:29:01 +02:00
Javi Martín
dc9cf5da55
Order by supports in descending order
...
Just as we do with confidence score, and as admins expect when they
order by received supports: the ones with more supports appear first.
2018-10-04 16:29:01 +02:00
Javi Martín
75d1ab1e52
Use AJAX requests to select legislation proposals
...
Now the interface is more similar to the one in budget investments.
2018-10-04 16:29:01 +02:00
Raúl Fuentes
a859de5d16
Test the selectable proposals
2018-10-04 16:29:01 +02:00