Commit Graph

1488 Commits

Author SHA1 Message Date
Michael Drury 1f03851f0d Merge pull request #1252 from Budibase/feature/test-refactor
Server test refactor
2021-03-05 13:43:18 +00:00
mike12345567 a9304bbcbd linting. 2021-03-05 12:55:52 +00:00
mike12345567 0878d692c2 Reducing the boilerplate needed around setting up a test case. 2021-03-05 12:11:44 +00:00
mike12345567 110ae15fb3 Some more quick modifications to test re-factor before PR. 2021-03-05 11:24:15 +00:00
Martin McKeaveney 9495e08b58 remove variable 2021-03-04 17:55:58 +00:00
Martin McKeaveney 39e2d78317 refactor view tests 2021-03-04 17:55:24 +00:00
mike12345567 242341e74f Moving comment. 2021-03-04 17:12:44 +00:00
mike12345567 10d5da6aab Small amount more user refactoring, removing use of couchTestUtils. 2021-03-04 17:06:33 +00:00
Martin McKeaveney ed0ee4fe60 Merge branch 'feature/test-refactor' of https://github.com/Budibase/budibase into feature/test-refactor 2021-03-04 16:54:50 +00:00
Martin McKeaveney 19b613d6e5 refactor user test 2021-03-04 16:54:44 +00:00
mike12345567 01f9981f11 Refactoring table testcases. 2021-03-04 14:36:59 +00:00
mike12345567 bd00138bed Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567 317d6633a2 Refactoring to remove the use of the supertest, making this part of the test config. 2021-03-04 12:32:31 +00:00
mike12345567 68a5580fb9 Refactoring query tests. 2021-03-04 10:57:41 +00:00
mike12345567 54d12bd9e7 Switching out how headers are handled, and updating the permissions test. 2021-03-04 10:40:27 +00:00
mike12345567 5d3b110985 Refactoring data source test cases. 2021-03-04 10:05:50 +00:00
mike12345567 798d29e743 Re-writing automation tests. 2021-03-03 18:41:49 +00:00
mike12345567 6d9b8a6678 Initial work on test refactoring, laying the utilities down which will be the basis of new testing framework, interacting directly with the controllers. 2021-03-03 17:52:41 +00:00
Martin McKeaveney 69a9e3135f Merge branch 'master' into develop 2021-03-03 16:00:10 +00:00
Martin McKeaveney d4bbb731fc codecov GH action 2021-03-02 18:22:35 +00:00
mike12345567 37211e4e9d Updating server package to always generate coverage report but don't display as text. 2021-03-02 17:42:32 +00:00
mike12345567 68bb5d5062 Updating package.json to include an option for coverage, had to re-write some stuff to make sure that views were not getting coverage statements inserted (breaking things). 2021-03-02 17:13:11 +00:00
Keviin Åberg Kultalahti 4575285d5f fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
mike12345567 0766e2fc40 Merge branch 'master' of github.com:Budibase/budibase into feature/one-many-relationship-changes 2021-03-02 09:59:52 +00:00
mike12345567 0c8026c5ce First version, still playing around with styling. 2021-03-01 17:06:08 +00:00
mike12345567 2e7410bc71 Linting. 2021-02-27 10:45:01 +00:00
mike12345567 2b11f8adfa Very minor change due to issue #1204 - wasn't allowing unauthenticated requests through. 2021-02-27 10:15:05 +00:00
mike12345567 acba31d29d Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567 7427eb82c1 Merge branch 'master' of github.com:Budibase/budibase into bug/perms-fix 2021-02-26 10:06:24 +00:00
mike12345567 229498332e Two character change, some API calls with sub resources and primary resources weren't working, should allow either the sub resource or the main resource to trigger allowance. 2021-02-26 10:06:02 +00:00
Martin McKeaveney a0456e86bd v0.8.3 2021-02-25 17:18:36 +00:00
mike12345567 78286ae514 Minor update to fix an issue when updating a row that it would throw an error with 1->to->many relationships on existing relationships for that row, as well as cleaning up how relationshipType is put onto the linked table. 2021-02-25 17:07:32 +00:00
Martin McKeaveney 779deddc5a v0.8.2 2021-02-25 16:39:52 +00:00
Martin McKeaveney c73c77448c bugfixes 2021-02-25 16:21:41 +00:00
Martin McKeaveney bf7bc51566 fix user creation relationships bug 2021-02-25 15:24:54 +00:00
mike12345567 51ed23d0a7 Updating link controller to manage existing column comparison a bit better. 2021-02-25 15:21:08 +00:00
Martin McKeaveney e72057499a v0.8.1 2021-02-25 13:50:33 +00:00
Martin McKeaveney e75355cfa3 Update Dockerfile 2021-02-25 13:27:46 +00:00
Martin McKeaveney b4996ccb4d v0.8.0 2021-02-25 12:49:03 +00:00
mike12345567 cd36739c23 Merge branch 'master' of github.com:Budibase/budibase into bug/relationship-display-id 2021-02-25 12:36:16 +00:00
Martin McKeaveney fbbeb19724 adding many to many constant 2021-02-25 12:23:47 +00:00
Martin McKeaveney 2d75bc750b relationship type constant 2021-02-25 12:21:24 +00:00
mike12345567 429811ec8b Wrapping throws in new errors. 2021-02-25 12:10:18 +00:00
mike12345567 a311002632 Found some issues with relationship columns being doubled up, this isn't validated client side, best to make sure it doesn't happen server-side (can really break your data structure if columns overwrite each other). 2021-02-25 12:06:13 +00:00
Martin McKeaveney 89350c91d1 refactor 2021-02-25 11:59:31 +00:00
Martin McKeaveney bcaed4f4e4 Server side data integrity for 1:N 2021-02-25 11:55:23 +00:00
mike12345567 641fd42686 Fixing coercion of null to empty string for options fields. 2021-02-25 11:26:28 +00:00
mike12345567 468ee7ac0c Fixing an issue with option fields not being unselectable. 2021-02-25 11:09:00 +00:00
Martin McKeaveney 19fb11e69d 1-n-data-integrity 2021-02-25 11:05:15 +00:00
mike12345567 91878ed2ce Having the server send out _id and primaryDisplay in an object for relationships, also accepting objects and coercing them on way in. 2021-02-25 09:41:04 +00:00