102 Commits

Author SHA1 Message Date
Alexandre Bodin
7a056c2f45 Add admin registeration API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:53:19 +02:00
Alexandre Bodin
07f716cee8 Cleanup code
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:48 +02:00
Alexandre Bodin
a4f294f1c4 Use passport standard error handling
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:38 +02:00
Andrey Hohutkin
94e031eba5
Fixes for Media Library upload (#5971)
* Fix formatFileInfo

Keep original file name including extension

* Fix file name for generated media

File name was not set for all generated media: thumbnail and resized pictures.

* Generate hash based on file name without extension

* cleanup PR

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* Fix unit tests
Exclude temporarily unit test 'Replaces reserved and unsafe characters for URLs and files in hash' because it did not work properly ever.

* Remove path delimiter from filename because it is correct character for file path

* Fix e2e

* Continue fixes for e2e

* Fix createRequest content type

* Correct thumbnail name in e2e test

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Andrey Hohutkin <none@none>
2020-06-25 10:13:42 +02:00
Alexandre Bodin
5723af75c5 Fix issue with using local pakcage as dependency
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 16:24:06 +01:00
Alexandre Bodin
eec7d04b20 Fix policy tests after prefix renaming
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 10:06:17 +01:00
Alexandre Bodin
0c6d39297f Add graphql tests for single-types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
Alexandre Bodin
721ad15633 Init dz tests 2019-12-13 10:43:38 +01:00
Alexandre Bodin
ab51bbebe4 Fix tests 2019-11-14 16:37:57 +01:00
Alexandre Bodin
d405285fae Handle component update and delete with categories 2019-11-13 18:49:06 +01:00
Alexandre Bodin
b9122edf0d Rename groups to components 2019-11-13 18:49:02 +01:00
soupette
6b0acc7b8e Remove settings-manager 2019-10-02 17:27:22 +02:00
Alexandre Bodin
60d04d26eb Init group tests and fix some groups issues 2019-08-08 14:30:43 +02:00
Alexandre Bodin
93c7f63cd1 Add email tests 2019-08-08 14:30:43 +02:00
Alexandre Bodin
35d22e2c85 Init password tests and split in separate test files 2019-08-08 14:30:42 +02:00
Alexandre Bodin
c17a718f25 Handle date with iso format in input and output to simplify processing 2019-08-05 16:55:17 +02:00
Alexandre Bodin
c5e50665cd Add upload route in content-manager and remove formdata for data creation 2019-07-30 16:58:36 +02:00
Alexandre Bodin
8e8433662b rename wysiwyg type to richtext for future plans 2019-07-29 18:05:18 +02:00
Alexandre Bodin
1dea89ca8f Support type wysiwyg instead of appearance param 2019-07-23 13:36:06 +02:00
Alexandre Bodin
254e6b9c38 Use appName to name the test app package.json 2019-07-18 17:21:53 +02:00
Alexandre Bodin
574b24b5b4 Use generateNew directly and disable dep install 2019-07-18 16:33:18 +02:00
Alexandre Bodin
8c5ffc9a20 Fix naming 2019-07-09 09:25:22 +02:00
Alexandre Bodin
2060ce4ca1 Test manyWay relation 2019-07-09 09:18:07 +02:00
Alexandre Bodin
7dab357125 Cleanup and test Groups CRUD 2019-07-02 13:28:18 +02:00
Alexandre Bodin
5e77287cc8 Rename strapi dev to strapi develop 2019-05-15 16:00:06 +02:00
Alexandre Bodin
1d27664ac4 Fix delete test as mongo returns the deleted object for now 2019-05-13 14:00:12 +02:00
Alexandre Bodin
a2bfb52344 Refactor testing, add simple crud tests 2019-05-13 14:00:12 +02:00
Alexandre Bodin
9e60be6fb0 clean model creationg during tests 2019-05-13 14:00:12 +02:00
Alexandre Bodin
ba7b58558e Clean workspace dependencies and add no-build option to strapi dev 2019-05-03 17:19:01 +02:00
Alexandre Bodin
bdd83eb689 Clean versions and test script 2019-05-03 09:49:08 +02:00
Alexandre Bodin
e78f8bbc8c Cleanup code and make test/e2e.js run 2019-04-23 11:24:29 +02:00
Alexandre Bodin
f7d868caeb Cleanup strapi new 2019-04-17 17:13:17 +02:00
Alexandre Bodin
59dc3eea36 Fix tests 2019-04-16 18:05:12 +02:00
Alexandre Bodin
87857b94be Implement strapi.queries for all models 2019-04-16 09:05:46 +02:00
soupette
1544cdf877 Fix PR feedback 2019-04-09 18:35:49 +02:00
Alexandre Bodin
0c5b255e75 Fix graphql loaders and add some e2e graphql tests 2019-03-25 16:37:46 +01:00
Alexandre Bodin
5c6618c525 Cleanup testing helpers and configuration 2019-03-13 00:10:20 +01:00
Alexandre Bodin
a0b45e2741 Add cypress run 2019-03-13 00:10:20 +01:00
Alexandre Bodin
96b023d16b Restructure tests 2019-03-13 00:10:19 +01:00
Alexandre Bodin
f4b5a487d1 Add forceExit param to jest runner 2019-03-13 00:10:19 +01:00
Alexandre Bodin
865ee5e5e2 Init test automation
wip
2019-03-13 00:10:19 +01:00
cyril lopez
3e67bd6e08 Remove fs extra and use shelljs in tests 2018-10-19 18:58:11 +02:00
Jim LAURIE
9840247d1c Test generated API endpoint 2018-07-19 14:46:03 +02:00
Jim LAURIE
19821a93dd Remove boolean attribute 2018-06-28 12:18:21 +02:00
Aurelsicoko
76200871e6 Add tests for oneWay relationship 2018-06-15 13:38:34 +02:00
Aurelsicoko
18d3b9cf1e Resolve merge 2018-06-13 17:56:41 +02:00
Aurelsicoko
208319b8a2 Update request helper 2018-06-13 16:16:46 +02:00
Aurelsicoko
7e5b859575 Split tests in packages 2018-06-13 15:31:33 +02:00
Jim Laurie
ec5ef9a240 Fix PR feedback 2018-06-04 14:39:26 +02:00
loicsaintroch
de96d913dd Form multi repos to mono repo workflow 2016-03-18 11:12:50 +01:00