Commit Graph

1771 Commits

Author SHA1 Message Date
c065148979 TEST: Disable L10N flag 2020-05-27 13:40:40 -04:00
af5e5ee83f Explicitly set default format on time widgets, python side 2020-05-27 19:31:50 +02:00
207cf0aefe Make asset create test scroll the page
For a more useful screenshot...
2020-05-27 19:00:07 +02:00
0fd2fae8c3 Explicitly set step param on time fields 2020-05-27 18:59:45 +02:00
50d0d746f4 Revert changes 2020-05-27 18:52:03 +02:00
7cd4b46c92 Try overriding localization at template level 2020-05-27 18:29:12 +02:00
4c403d67b3 TEST: Disallow local datetime input formats 2020-05-27 18:15:04 +02:00
c1d13d2802 TEST: Disallow %H:%M:%S input format 2020-05-27 17:57:31 +02:00
Matthew Smith
4eab50f4f3 Forgot to add "sys" to imports 2020-05-27 02:59:53 +01:00
Matthew Smith
ce69727f7b Maybe this'll make it appear? 2020-05-27 02:54:14 +01:00
Matthew Smith
c616c8dbe5 Okay so what locale is the CI server on 2020-05-27 02:47:12 +01:00
Matthew Smith
a0f571c783 Added colon to input 2020-05-27 02:16:02 +01:00
Matthew Smith
170c2f6d8c Fixed Pep8 - I promise I'll make a pre-commit hook sometime! 2020-05-27 01:59:18 +01:00
Matthew Smith
f37228e058 Fixed RIGS tests not being run 2020-05-27 01:53:14 +01:00
Matthew Smith
6d47be72fe Added screenshot recording of test failures 2020-05-27 01:47:10 +01:00
6ded711dd5 Try disabling chrome cache 2020-05-26 15:26:03 +01:00
920ea0d058 What about if I did this 2020-05-26 15:10:27 +01:00
e45e58321c Revert to old submit wait behaviour 2020-05-26 15:02:44 +01:00
3f78b9f05f That was even less clever of me 2020-05-26 14:39:12 +01:00
0bbc23853d Well that wasn't clever of me 2020-05-26 13:42:37 +01:00
7356d020b2 Minor test futzing 2020-05-26 13:35:50 +01:00
08f40bce9e Update python version
Trying to get CI to match my local environment as much as possible...
2020-05-26 01:39:15 +01:00
1d0e8e14e5 Of course | is part of YAML syntax, of course...
Maybe this works.
2020-05-26 01:23:38 +01:00
b52709f412 Make CI use latest (stable) chromedriver rather than some ancient one
Since Travis uses the latest stable chrome, should always match. Bash oneliner \o/
2020-05-26 00:52:42 +01:00
c4c4291050 Fix asset creation test + actually verify its results 2020-05-26 00:22:06 +01:00
07641a2520 Ensure submit button is scrolled to in tests 2020-05-26 00:17:02 +01:00
fd6aee83cf Fix the remaining tests 2020-05-25 22:49:07 +01:00
177c37ffbc Dedupe generic search logic 2020-05-25 22:47:25 +01:00
d070f97696 Fully replace test_functional 2020-05-25 16:16:38 +01:00
2f7389d8bb Really ought to get a pre-commit hook for pep8... 2020-05-25 13:40:53 +01:00
18fde7c16a FIX: Don't show asset buttons/history for basic users 2020-05-25 13:36:42 +01:00
f06dc56b40 Refactor calendar tests 2020-05-25 13:32:09 +01:00
e6d06db2a1 FIX: Prevent setting access time after start time
Cherry pick of d274ea4606. Will close #405.
2020-05-25 01:16:26 +01:00
544b6df35c Fix some tests
And some things that were actually borked
2020-05-24 22:16:50 +01:00
c9ea1bb75d pep8 2020-05-24 19:24:51 +01:00
928d5cd8e6 Deduplication of testing code 2020-05-24 19:16:09 +01:00
cc225b2eb7 Refactor date validation test
So close to killing test_functional.EventTest!
2020-05-24 00:27:41 +01:00
3c0005ddb0 Initial port of duplicate testing
Needs the latter half rewriting once we have an EventDetail POM
2020-05-23 23:48:11 +01:00
Matthew Smith
8ffb5ab23e Updated bootstrap-select for BS4 2020-05-22 00:38:04 +01:00
34bf49876b Upgrade bootstrap-select 2020-05-21 22:57:28 +01:00
813db2c474 Initial refactor of event item testing 2020-05-21 22:48:46 +01:00
919975e1ba Fix event item adding
Bit too heavy handed with the deduplication there Arona
2020-05-21 22:18:04 +01:00
0d0c783e07 Desaturate theme colors even more
Much closer to BS3
2020-05-21 21:26:56 +01:00
c23d18cd45 Init other tests, more rigs test faffery 2020-05-21 21:19:53 +01:00
5a3547ea74 Initial work on event create test reimpl 2020-05-21 02:40:14 +01:00
e3c1da9d13 Start on new tests 2020-05-11 23:04:13 +01:00
3f48c51aeb Fix migrations
TODO - need to ensure moved models are *moved* rather than deleted and recreated!
2020-04-15 19:42:42 +01:00
abb8dc25ec Test Refactor Part 1 - Shuffle things around 2020-04-15 19:40:49 +01:00
70995a0d0b Merge branch 'master' into bs4
# Conflicts:
#	assets/models.py
#	assets/templates/asset_update.html
#	assets/templates/partials/asset_buttons.html
#	assets/templates/partials/asset_list_table_body.html
#	assets/views.py
#	templates/base_assets.html
2020-04-15 16:28:44 +01:00
3be06a7b25 Create initial asset audit framework (#403)
* WIP: Basic work on audit

* WIP: Audit modal works

Need to get the ID search working.

* WIP: Javascript shenanigans for asset audit search

It's not clean but it works..

* Improve audit search bar

Optimise for APM!

* Filter asset audit list by never-audited

* Added cable functionality to audit form

Also improved styling

* FIX: Revert partialising of asset search

* Various UX Improvements

Also rearranged asset detail/edit to be more space efficient

* FIX: Remove assets from to-be-audited table when audited

Previously required a page reload

* Improve sample data generator

Does reversion properly and sets colours for asset statuses

* FIX: Gracefully handle 404s in audit search

* FEAT: Add buttons for some common defaults on audit form

TODO: Partialise those fragments and add them to the edit/create forms too.

* FIX: Fix asset sample data command when run alone

* FEAT: More handy buttons

* FIX: Stop quickbuttons being tab-selected

If someone's tabbing through, they won't be needing the buttons...

* FIX: Hide asset detail buttons for basic users

* FIX: Migrations

* Start tests for audit

* Some deduplication for testing code

* Improve asset audit testing

* Remember to test the tests Arona

* Potentially make modal tests more consistent

* FIX?: Up WebDriverWait timeout for modal tests

* FIX?: What about this way...

* Remake migrations

* Fix README badges to point to right branch

While I'm here eh :P

* Use aware time in audit

* Fix migrations again

* Fix for my fix...

* Modify audit exclusions to properly prevent data loss

* pep eiiiiiight
2020-04-14 21:11:09 +01:00