Commit Graph
156 Commits
Author SHA1 Message Date
Tatu Laras 73f7703c9b Attempt to fix e2e tests 2025-05-19 14:48:12 +03:00
208acd5372 Select coordinates (#749)
* createTitle uses condition to display tu_comment

* Removed the tu_name from createTitle

* Corrected also the Hypsodonty field in Species Teeth tab

* Also modified the Coordinates selection as a TableContainer with additional columns

* Cleaned import. Removed ListItemButton

* fixed lint issues and updated tests and test data

---------

Co-authored-by: juhanikat <juhani.kataja@gmail.com>
2025-04-11 15:13:30 +03:00
juhanikat 1d9e2be2b5 add tests and todos for deleting items 2025-04-10 15:34:34 +03:00
juhanikat 94e7839616 fixed bug with error checking in editingComponents, and updated tests 2025-03-27 14:53:37 +02:00
juhanikat 1e8f9382db changed the way time bounds are displayed/selected in time unit detail view, also changes to TimeBoundSelection component and tests 2025-03-25 16:36:17 +02:00
juhanikatandGitHub 6eadba8e6d Frontend functionality for editing persons (#678)
* add frontend editing functionality for user information

* add e2e tests for person editing

* changed country field from textfield to dropdown

* prompt user to change password if last_login is null

* fixed tests

* ChangePasswordForm now properly shows errors

* made e2e tests for login redirect and ChangePasswordForm, also fixed first login warning repeating endlessly
2025-03-13 13:54:55 +02:00
juhanikat 73a928a438 added missing brackets and fixed other lint issues 2025-02-18 15:33:37 +02:00
juhanikatandGitHub 80bc2bea79 Merge branch 'main' into deleting-for-regions 2025-02-18 15:29:19 +02:00
juhanikat c91b5019ef add e2e test for deleting region 2025-02-14 14:56:16 +02:00
juhanikat a82e43f535 update e2e tests for region creation and updating 2025-02-11 16:30:51 +02:00
juhanikat 34fdccf881 disabled add country button if nothing is selected in the dropdown, also updated e2e tests 2025-02-11 15:21:30 +02:00
juhanikat 1e44207c51 remove old TODO comment and add frontend tests for region 2025-02-11 15:21:30 +02:00
juhanikat 74c7464437 fixed min/max ages not changing when fraction changes, also created tests for this and updated documentation 2025-01-28 12:03:37 +02:00
juhanikat fdf2fd9ba9 lint fix 2024-12-17 14:14:59 +02:00
juhanikat 16967b0b05 min and max ages now update properly after changing fractions 2024-12-17 14:08:56 +02:00
Sampo RiitalaandAaro Koivukangas 4225a7857a add reference in test 2024-12-10 09:54:20 +01:00
SampoandAaro Koivukangas 8f73f8ed1c uncomment locality map test 2024-12-10 09:54:20 +01:00
Sampo RiitalaandAaro Koivukangas bfbb019e51 add mocha eslint plugin to warn about exclusive tests (it.only) 2024-12-02 11:12:09 +01:00
kaarleol a261352d2b fixing at least some e2e tests 2024-12-02 00:20:38 +02:00
Sampo Riitala f40650d3af include testing of location search in coordinate selection map test 2024-12-01 08:29:41 +02:00
juhanikatandAaro Koivukangas 4e63654392 added some tests for showing user the amount of errors in edit view 2024-11-29 15:49:05 +01:00
Sampo Riitalaandjuhanikat 7781136162 add e2e test for links in EditableTable 2024-11-28 13:41:49 +02:00
Sampo RiitalaandSampo 87aa94be45 edit tests to work with dropdown 2024-11-15 19:28:39 +02:00
Sampo RiitalaandSampo 5d8926f296 rename more 2024-11-15 17:42:28 +02:00
Sampo RiitalaandSampo 2ad27524b0 fix outdated names 2024-11-15 17:42:28 +02:00
juhanikat 08ed780141 major changes to locality tests 2024-11-15 14:34:35 +02:00
SampoandGitHub e4f95ab46c Merge branch 'main' into fix-fraction-form 2024-11-15 12:02:49 +02:00
juhanikatandSampo f5b96d71c7 added delete tests for timeUnit/timeBound when they are used by other entities, also fixed weird lint problem 2024-11-15 00:16:21 +02:00
Sampo Riitala ac6282f3d5 fix composite dating method test 2024-11-14 23:39:01 +02:00
Sampo Riitala 098d99c6d2 add test for fraction 2024-11-13 15:01:52 +02:00
SampoandGitHub 9ed5fb267b Merge branch 'main' into validate-all-tabs-on-load 2024-11-13 13:21:36 +02:00
juhanikatandSampo 0571d4c34a disabled the create new view from unauthorized users 2024-11-13 13:11:17 +02:00
SampoandSampo a35b6fce33 add test for write button being disabled if unvisited tab has validation errors 2024-11-13 03:21:11 +02:00
Sampo Riitala 2915a10dbb fix typo 2024-11-11 01:12:51 +02:00
Sampo Riitala 3c68f61a86 fix time unit test tableselection id's 2024-11-11 01:02:58 +02:00
Sampo Riitala 592eff685e add test for composite dating method 2024-11-11 00:49:56 +02:00
juhanikatandSampo 3ba0250d1e fixed issue with radio selector not having a default value, also updated tests and docs 2024-11-08 17:48:10 +02:00
juhanikatandEero Antikainen efe7c78d04 added tests for time unit creating/editing and added an id for the staging view return button 2024-11-08 13:04:00 +02:00
juhanikatandAaro Koivukangas 60fa37ff8f removed skips from some e2e tests and fixed them, also improved test descriptions 2024-11-07 12:06:38 +01:00
juhanikat 3f15d61cab added a test to ensure this works 2024-11-07 12:32:25 +02:00
Aaro KoivukangasandGitHub b700a4e0a4 Merge branch 'main' into disable-save-button-if-validators-fail 2024-11-06 10:29:44 +01:00
Sampo Riitala 6107329957 convert coordinates from map to dms 2024-11-04 17:14:26 +02:00
Sampo Riitala 8a8211fb70 test clearing of bfa_min_abs field when changing dating method 2024-11-03 18:38:35 +02:00
Eero AntikainenandAaro Koivukangas 3ee2962ee3 update tests 2024-11-02 12:21:58 +01:00
juhanikat 0349247b0b change tests to work with the disabled button 2024-11-01 12:25:35 +02:00
Eero AntikainenandAaro Koivukangas 8a4b9717fc refactor frontend errorhandling and modify tests to support this 2024-11-01 08:43:12 +01:00
SampoandGitHub 19a45c881d Merge branch 'main' into test-adding-locality 2024-10-30 17:34:11 +02:00
Sampo Riitala c548498e02 test creating a locality with missing inputs 2024-10-30 17:29:47 +02:00
Sampo Riitala 0725f118e1 test creating a locality with valid inputs 2024-10-30 17:14:24 +02:00
Aaro Koivukangas f96c884455 fixed database reset to the correct place in timeunit e2e tests 2024-10-30 14:15:02 +01:00