Patrik
cb5d005e68
test: passing array fields test suite ( #5383 )
...
* test: array tests passing except bulk update
* test: passing array fields test suite
2024-03-20 12:00:56 -04:00
Alessio Gravili
9c7e250109
fix all imports in tests
2024-03-20 11:09:22 -04:00
Alessio Gravili
ca103b6af3
fixes
2024-03-20 11:03:59 -04:00
Alessio Gravili
2f75ee9472
fixes
2024-03-20 10:59:29 -04:00
Alessio Gravili
68d0a442e4
fixes
2024-03-20 10:52:21 -04:00
Alessio Gravili
d2a1404f04
Merge remote-tracking branch 'origin/alpha' into newtests
2024-03-20 10:26:35 -04:00
Alessio Gravili
64f2d2a502
fix: debugging by moving app dir out of test
2024-03-20 09:48:05 -04:00
Alessio Gravili
f74d6efcae
Merge remote-tracking branch 'origin/newtests' into newtests
2024-03-19 17:43:05 -04:00
Alessio Gravili
b2d802aa85
fix testHooks paths
2024-03-19 17:42:58 -04:00
James
964a51e21d
chore: ???
2024-03-19 17:41:59 -04:00
Alessio Gravili
1af558af44
chore: fix incorrect import in tests
2024-03-19 15:40:37 -04:00
James
6b176066ec
chore: progress to removing barrel file reliance
2024-03-19 12:23:57 -04:00
Alessio Gravili
5eb73e0c05
remove unnecessary TypeScript import
2024-03-19 11:34:22 -04:00
Alessio Gravili
3347f92414
stuff
2024-03-19 11:33:32 -04:00
Alessio Gravili
72c6200f17
get e2e and dev to work with test as new root directory
2024-03-19 11:31:50 -04:00
Dan Ribbens
ed01ee1e2d
feat: duplicate doc moved from frontend to backend concern ( #5342 )
...
BREAKING CHANGE: collection.admin.hooks.beforeDuplicate removed and instead should be handled using field beforeDuplicate hooks which take the full field hook arguments.
* feat: duplicate doc moved from frontend to backend concern
* feat: default beforeDuplicate hook functions on unique fields
* docs: beforeDuplicate field hook
* test: duplicate doc local api
* chore: fix build errors
* chore: add access.create call to duplicate operation
* chore: perfectionist reorder imports
2024-03-19 11:25:19 -04:00
Elliot DeNolf
67f7c002c9
Merge pull request #5359 from payloadcms/chore/test-dir-to-workspace
...
chore: add test dir to workspace
2024-03-19 08:53:37 -04:00
Elliot DeNolf
f361d153d1
chore: suppress memory db log message if in CI
2024-03-19 02:13:09 -04:00
Elliot DeNolf
7857c80c79
chore: move getFileByPath to payload/uploads
2024-03-19 01:46:28 -04:00
Elliot DeNolf
99adfd2bba
chore: export mapAsync, fix some packages/next refs
2024-03-19 01:34:12 -04:00
Elliot DeNolf
9a493491f1
chore: properly export getFileByPath
2024-03-19 01:24:05 -04:00
Elliot DeNolf
1ac76d7758
chore: more linting
2024-03-19 01:15:25 -04:00
Elliot DeNolf
c5ecf48d94
chore: add test/ to workspace, update most references
2024-03-19 00:59:56 -04:00
Paul Popus
7d0bd49ae3
fix: live-preview replace goToDoc utility with correct waitForURL
2024-03-18 18:38:07 -03:00
Elliot DeNolf
92471b0beb
chore: fix @payloadcms/ui refs in test dir
2024-03-18 16:55:27 -04:00
Paul Popus
ea713758a1
fix: remove pretest steps on live-preview e2e
2024-03-18 17:52:15 -03:00
Alessio Gravili
26df916421
fix: issues related to Auth test suite
2024-03-18 15:30:55 -04:00
Alessio Gravili
0a8f400a59
chore: optimize test/tsconfig for import suggestions within test suite
2024-03-18 15:21:04 -04:00
Alessio Gravili
cc1cbd1ed7
chore: add back test/tsconfig.json and upgrade @types/node
2024-03-18 14:56:13 -04:00
James
12e54e189a
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-18 14:28:04 -04:00
James
5eaea1c7f1
chore: moves live preview test suite into main app folder
2024-03-18 14:27:56 -04:00
Jacob Fletcher
55d9377403
chore(ui): client-side renders all default fields ( #5357 )
2024-03-18 12:51:39 -04:00
James
2cf72aea81
chore: fixes mongodb memory server timeout issues
2024-03-18 12:17:43 -04:00
James
152eea3cb8
chore: removes unused prop
2024-03-18 11:18:26 -04:00
James
605d96b71b
chore: avoids passing fieldTypes in buildComponentMap
2024-03-18 11:03:14 -04:00
Paul Popus
4df49689a9
chore: add csrf and cors config to live preview
2024-03-18 10:29:11 -03:00
Elliot DeNolf
900c5b7661
chore: remove unnecessary tsconfigs
2024-03-16 10:33:42 -04:00
Elliot DeNolf
5cac4c953d
test: fix missing awaits in E2E
2024-03-16 10:26:51 -04:00
Elliot DeNolf
65f2cb9a22
chore: rename configHelpers to match function name
2024-03-16 10:18:34 -04:00
Elliot DeNolf
7ddb68b70d
test: fix some easy eslint errors
2024-03-16 10:15:09 -04:00
Elliot DeNolf
14eb66c87d
test: refactor int tests to use initPayloadInt which reduces boilerplate
2024-03-16 10:11:00 -04:00
Elliot DeNolf
4eba651c3d
test: refine testHooks
2024-03-16 07:00:38 -04:00
Elliot DeNolf
c48719dfdb
test: fix next/link import
2024-03-16 06:46:30 -04:00
Elliot DeNolf
ae6c4b2ddf
test: remove typescript declare from test suite type output
2024-03-16 06:45:32 -04:00
Elliot DeNolf
a2f2a59c21
test: rework jest setup to use setupFilesAfterEnv
2024-03-16 06:40:20 -04:00
Elliot DeNolf
e739c26f2e
chore: rework test hooks to reset tsconfig.json
2024-03-16 06:37:30 -04:00
Jacob Fletcher
fb4651bdad
chore(ui): strictly types fields ( #5344 )
2024-03-15 17:41:48 -04:00
Jarrod Flesch
eef06425a3
chore: passing versions e2e ( #5343 )
2024-03-15 17:09:32 -04:00
Elliot DeNolf
04a3223ff5
test: fix seed helper, was causing errors in versions suite
2024-03-15 16:55:54 -04:00
Elliot DeNolf
9226be058c
test: fix useField imports
2024-03-15 16:02:27 -04:00