| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
In the past Oxfordshire had a way for inspectors to "instruct a defect",
which generated a CSV which got emailed to Oxfordshire with a list of
defects.
They now want to bring this functionality back, but instead of emailing
a CSV they want it to call an API.
As a first step towards that goal, this change adds back some of the
instruct defect functionality that was removed in 68e18ff.
|
|
|
|
|
|
| |
Co-Authored-By: Struan Donald <struan@exo.org.uk>
For https://github.com/mysociety/fixmystreet-commercial/issues/1808
|
|
|
|
| |
You need to install the @cypress/code-coverage package alongside cypress.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After this change, you can safely add the TfL body to other councils
(namely the ones surrounding London that include TfL bus stops);
clicking in those councils on other cobrands will have no change, as the
TfL body will be fully ignored on a non-London council, but on the TfL
cobrand it will allow it for e.g. the selection of bus stops outside
London.
It removes the body rather than just all its categories to prevent a "We
do not have details of the other body covering this area" message
appearing.
|
| |
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Matthew Somerville <matthew@mysociety.org>
Configured to allow:
- updates only from original reporter
- close updates from fetch reports
- use OSM geocoder
|
| |
|
|
|
|
|
| |
Due to refactoring in 12d2346, this was loading prior
to the main asset code and thus not activating.
|
|
|
|
|
|
|
| |
This makes it clearer that all details for a report made in a private
category will not be shown publicly.
Fixes mysociety/fixmystreet-commercial#1405
|
|\ |
|
| |
| |
| |
| |
| | |
Rather than have a method in the Cobrand module use the COBRAND_FEATURES
section of the config file.
|
| | |
|
|/
|
|
|
|
|
| |
Noticed this week that it’s not been possible to run the cypress browser
tests when you have FMS running in a Vagrant VM (and the tests running
outside on the host) since the FMS Vagrant config was changed to use an
FMS-specific box.
|
| |
|
|
|
|
| |
This was originally removed in 5d9a3dd03 and put back in de66ef715.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the hosts config option, from
https://github.com/cypress-io/cypress/issues/1488#issuecomment-396435553
to the cypress config so we can access *.locahost. Then use those in the
cobrand tests, as well as allowing them as cobrands by default in the
FixMyStreet server setup.
NB: need to set fixmystreet.localhost as the FixMyStreet BASE_URL
otherwise form submissions can go to localhost and then you get a
cypress cross origin security error.
|
| |
|
| |
|
|
|
|
|
|
| |
This is so front-end tests will not try and send email, or
call Gaze. Various co-ordinates have to be updated because
the default zoom level of the map has now changed.
|
| |
|
|
|
|
| |
Check selecting a category and selecting a sub category
|
|
|
|
|
|
| |
Add options to set the cobrand plus related options for co-ordinates,
name and area id to the browser test command. Set BASE_URL to same as
test server, as that is used in e.g. list link output.
|
|
|
|
|
|
|
|
| |
Including testing the filters, viewing a report, and pushState.
Plus a mock MapIt handler for returning a GeoJSON outline, to make the
page load. The BASE_URL is also set to the same as the test server, as
that is used in list link output.
|
|
|
|
|
| |
The existing fixture script generates random results so is no use for
front end testing.
|
|
|