Commit Graph

247 Commits

Author SHA1 Message Date
Naomi
19dac7ac8b Added test for submitting form without filling in required fields 2018-10-04 09:43:11 +01:00
Naomi
7e7d1d1d8a Updated how the form jumps to errors on reload
It was inserting "#undefined" when there was no error
2018-10-03 20:13:38 +01:00
Naomi
bc5cddb5ee Added some documentation 2018-09-26 16:18:57 +01:00
Naomi
17f0efd424 Merge branch 'selenium' 2018-09-26 16:06:31 +01:00
Naomi
a12949fba1 Selenium test is now working
It uses chrome driver rather than firefox/gecko, however.
2018-09-26 16:05:03 +01:00
Naomi
3b0a440066 Making test fail on purpose, to test the pipeline 2018-09-26 15:58:21 +01:00
Naomi
7ce4c993f9 Added headlessness from here https://medium.com/@joyzoursky/recent-updates-6264d1e5d42f 2018-09-26 15:50:16 +01:00
Naomi
5faa9f628d Merge branch 'selenium' of autonomic-git:autonomic-cooperative/ojuso-map into selenium 2018-09-26 15:39:48 +01:00
Naomi
949dca4abb Switched selenium from using firefox to using chrome 2018-09-26 15:38:56 +01:00
Naomi
5f1068a3a3 Update .gitlab-ci.yml 2018-09-26 14:21:44 +00:00
Carl van Tonder
807bf87351 More detailed psycopg troubleshooting instructions 2018-09-26 15:09:35 +01:00
Carl van Tonder
bfb0ff9354 Drop -e from django-cas-server install 2018-09-26 15:09:35 +01:00
Naomi
87d4b3c6e7 Fixed https://gitlab.com/autonomic-cooperative/ojuso-map/issues/75
Changed position of the map container ("jumbo") from absolute to relative because with absolute position it did not move down when the menu expanded.
2018-09-26 15:09:35 +01:00
857714fb15 Fix failing test 2018-09-26 15:09:35 +01:00
de07e09b12 Try again 2018-09-26 15:09:35 +01:00
0e141a31f8 Try to fix tests again 2018-09-26 15:09:35 +01:00
Carl van Tonder
02bf06e9ad Update docs, add example .env file
virtualenvwrapper guide, merge / tidy up database installation
instructions
2018-09-26 15:09:35 +01:00
Carl van Tonder
78b597166f Ignore static dir in git 2018-09-26 15:09:35 +01:00
Carl van Tonder
a49c4224a9 Fix test failure 2018-09-26 15:09:35 +01:00
Carl van Tonder
b648c28d70 Fix crashing test 2018-09-26 15:09:35 +01:00
7df7d7df5b Text fields shouldn't have null=True. (#94) 2018-09-26 15:09:35 +01:00
d1c3ca247a Upgrade to Django 1.11 compatible version of django-cas-server 2018-09-26 15:09:35 +01:00
Naomi
4a0e1a491e Form now jumps to first error (if any) when it reloads
even if on a different tab.
2018-09-26 15:09:35 +01:00
Naomi
03d2791fb3 Updated documentation and system requirements 2018-09-26 15:09:35 +01:00
Carl van Tonder
1c05e74f63 Add Fedora postgres set-up instructions 2018-09-26 15:09:35 +01:00
Carl van Tonder
b6baa9128b Update setup instructions 2018-09-26 15:09:35 +01:00
Naomi
bc86560958 Updated installation instructions for debian 2018-09-26 15:09:35 +01:00
f5fac0b6a0 Update draft deletion logic for new field
And comment the delete-files-only-in-drafts logic.
2018-09-26 15:09:35 +01:00
a900a146e2 Tweak failing test
I've worked out this test is failing when FileDeleteView::post() calls
self.get_object() - that's when the 404 is being sent.  I can't work out
why though, because everything else looks fine.
2018-09-26 15:09:35 +01:00
4ddc6aeacf Add test bucket when testing, so we can nuke debug files 2018-09-26 15:09:35 +01:00
Carl van Tonder
eead00ccca More detailed psycopg troubleshooting instructions 2018-09-23 17:04:22 -04:00
Carl van Tonder
c8fc35ad57 Drop -e from django-cas-server install 2018-09-23 16:59:19 -04:00
Naomi
741f9bd91d Fixed https://gitlab.com/autonomic-cooperative/ojuso-map/issues/75
Changed position of the map container ("jumbo") from absolute to relative because with absolute position it did not move down when the menu expanded.
2018-09-23 17:20:41 +01:00
b42a9c7571 Fix failing test 2018-09-23 13:50:38 +01:00
47236ac547 Try again 2018-09-23 12:09:42 +00:00
d0a4148b13 Try to fix tests again 2018-09-23 11:58:09 +00:00
Carl van Tonder
ea245cc4fc Update docs, add example .env file
virtualenvwrapper guide, merge / tidy up database installation
instructions
2018-09-22 22:47:35 -04:00
Carl van Tonder
775f6982d1 Ignore static dir in git 2018-09-22 22:47:18 -04:00
Carl van Tonder
af9f522bef Fix test failure 2018-09-22 22:25:35 -04:00
Carl van Tonder
ab57602a5f Fix crashing test 2018-09-22 22:25:35 -04:00
ff445e166d Text fields shouldn't have null=True. (#94) 2018-09-22 19:09:05 +01:00
3a17029dbd Upgrade to Django 1.11 compatible version of django-cas-server 2018-09-22 18:10:53 +01:00
Naomi
a467062fe1 Form now jumps to first error (if any) when it reloads
even if on a different tab.
2018-09-20 12:59:47 +01:00
Naomi
e4a9df0e00 Updated documentation and system requirements 2018-09-10 17:23:40 +01:00
Carl van Tonder
ffeed9bf94 Add Fedora postgres set-up instructions 2018-09-05 11:35:07 -04:00
Carl van Tonder
81229f9a6e Update setup instructions 2018-09-05 11:33:25 -04:00
Naomi
39c35175b9 Updated installation instructions for debian 2018-09-05 14:10:57 +01:00
9b1d9e7e04 Update draft deletion logic for new field
And comment the delete-files-only-in-drafts logic.
2018-06-27 19:50:24 +01:00
a4072ba22a Tweak failing test
I've worked out this test is failing when FileDeleteView::post() calls
self.get_object() - that's when the 404 is being sent.  I can't work out
why though, because everything else looks fine.
2018-06-27 19:43:39 +01:00
a964ee03d2 Add test bucket when testing, so we can nuke debug files 2018-06-27 19:30:25 +01:00