aboutsummaryrefslogtreecommitdiffstats
path: root/bin/browser-tests
Commit message (Collapse)AuthorAgeLines
* [Oxfordshire] Add instruct defect functionality back inChris Mytton2020-10-12-2/+14
| | | | | | | | | | | | 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.
* [Hackney] Initial cobrand design & privacy policy amendmentMartin Wright2020-07-02-2/+2
| | | | | | Co-Authored-By: Struan Donald <struan@exo.org.uk> For https://github.com/mysociety/fixmystreet-commercial/issues/1808
* Add --coverage option to browser-tests.Matthew Somerville2020-05-19-2/+42
| | | | You need to install the @cypress/code-coverage package alongside cypress.
* [TfL] Allow bus stop reports outside London.Matthew Somerville2020-02-24-2/+2
| | | | | | | | | | | | | 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.
* [Peterborough] Add test for multiple questions disabling new report formChris Mytton2020-01-29-2/+2
|
* [IsleOfWight] Initial cobrand.Struan Donald2019-09-27-2/+2
| | | | | | | | | Co-authored-by: Matthew Somerville <matthew@mysociety.org> Configured to allow: - updates only from original reporter - close updates from fetch reports - use OSM geocoder
* Hide category extras when dupe suggestions shown.Matthew Somerville2019-08-07-1/+2
|
* [BANES] Move staff map code later.Matthew Somerville2019-07-16-0/+1
| | | | | Due to refactoring in 12d2346, this was loading prior to the main asset code and thus not activating.
* Update UI text when selecting a private categoryDave Arter2019-07-09-1/+1
| | | | | | | 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
* Merge branch 'issues/2475-multiple-parents-for-categories'Matthew Somerville2019-06-17-3/+4
|\
| * configure category_groups via COBRAND_FEATURESStruan Donald2019-06-17-3/+4
| | | | | | | | | | Rather than have a method in the Cobrand module use the COBRAND_FEATURES section of the config file.
* | Add front-end testing support for WSL.Matthew Somerville2019-06-14-2/+16
| |
* | Fix front-end testing script when run with VagrantZarino Zappia2019-06-14-32/+37
|/ | | | | | | 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.
* [Buckinghamshire] Add flytipping front end test.Matthew Somerville2019-06-05-2/+2
|
* [Cypress] Remove blacklistHosts CLI argument.Matthew Somerville2019-06-05-1/+1
| | | | This was originally removed in 5d9a3dd03 and put back in de66ef715.
* run front end tests for cobrands alongside main testsStruan Donald2019-05-28-7/+8
| | | | | | | | | | | | 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.
* generate test specific fixture dataStruan Donald2019-05-28-1/+1
|
* [Cypress] Blacklist in config as fails in CLI.Matthew Somerville2019-05-15-1/+1
|
* Activate test_mode on JS testing.Matthew Somerville2018-12-12-0/+1
| | | | | | 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.
* [UK] Front end tests for Highways England layerStruan Donald2018-11-19-1/+1
|
* front end category testsStruan Donald2018-10-09-0/+3
| | | | Check selecting a category and selecting a sub category
* Add cobrand options to browser-test script.Struan Donald2018-10-03-9/+25
| | | | | | 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.
* Add some Cypress tests for the map list pages.Struan Donald2018-10-02-0/+1
| | | | | | | | 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.
* Adapt fixture script to be non-random on request.Struan Donald2018-10-02-1/+1
| | | | | The existing fixture script generates random results so is no use for front end testing.
* Add Cypress testing.Matthew Somerville2018-03-15-0/+129