aboutsummaryrefslogtreecommitdiffstats
path: root/bin/browser-tests
Commit message (Collapse)AuthorAgeLines
* [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