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
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
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
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
Paul Popus
ea713758a1
fix: remove pretest steps on live-preview e2e
2024-03-18 17:52:15 -03:00
James
5eaea1c7f1
chore: moves live preview test suite into main app folder
2024-03-18 14:27:56 -04:00
Paul Popus
4df49689a9
chore: add csrf and cors config to live preview
2024-03-18 10:29:11 -03:00
Elliot DeNolf
65f2cb9a22
chore: rename configHelpers to match function name
2024-03-16 10:18:34 -04:00
Elliot DeNolf
14eb66c87d
test: refactor int tests to use initPayloadInt which reduces boilerplate
2024-03-16 10:11:00 -04:00
James
c5f915651c
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-15 15:30:56 -04:00
James
e2d7fec793
chore: merge
2024-03-15 15:30:29 -04:00
Paul Popus
d3b4f46b25
fix: further fixes for live preview
2024-03-15 16:30:00 -03:00
Paul Popus
d785af1826
fix: core fixes to the live-preview e2e test suite
2024-03-15 15:36:58 -03:00
Alessio Gravili
6789e61488
chore: run lint & prettier on everything
2024-03-14 23:53:47 -04:00
Dan Ribbens
d193c677c7
chore: attach mongoMemoryServer to db and destroy in tests ( #5326 )
...
* chore: attach mongoMemoryServer to db and destroy in tests
* bump mongodb-memory-server to 9.x
---------
Co-authored-by: Paul Popus <paul@nouance.io >
2024-03-14 15:41:20 -04:00
Alessio Gravili
da1326a336
chore: eslint perf improvements for test suite, make use of cascading for all eslint configs to minimize duplicative rule
2024-03-12 09:15:38 -04:00
Alessio Gravili
8895f6420f
chore: fix all esm test suite imports
2024-03-08 14:42:24 -05:00
Alessio Gravili
881d1e9594
chore: replace all __dirname's in test dir
2024-03-08 11:09:59 -05:00
Jacob Fletcher
730344a201
chore(next): ssr live preview ( #5205 )
2024-02-28 15:39:01 -05:00
Jarrod Flesch
d87d095fe9
Merge branch 'feat/next-poc' of https://github.com/payloadcms/payload into feat/next-poc
2024-02-21 09:22:11 -05:00
Elliot DeNolf
802919e6ea
test: update e2e suites
2024-02-20 16:26:09 -05:00
Jarrod Flesch
a5e2fa80e8
chore: adds schema path to useFieldPath provider, more passing tests
2024-02-20 15:56:11 -05:00
Jarrod Flesch
28dc5a5b8c
chore: start live-preview int test migration
2024-02-16 22:49:08 -05:00
Patrik
9e8f14a897
feat: adds new actions property to admin customization ( #4468 )
2023-12-19 09:31:58 -05:00
Jacob Fletcher
4090aebb0e
fix(live-preview): populates rte uploads and relationships ( #4379 )
2023-12-05 00:53:11 -05:00
Jacob Fletcher
03a387233d
fix(live-preview): sends raw js objects through window.postMessage instead of json ( #4354 )
2023-12-01 17:50:55 -05:00
Jacob Fletcher
5f173241df
feat: async live preview urls ( #4339 )
2023-12-01 16:25:39 -05:00
Jacob Fletcher
4adc30b034
chore: fixes failing postgres int test for live preview ( #4329 )
2023-11-30 10:30:09 -05:00
Jacob Fletcher
9cc88bb474
fix: properly sets tabs key in fieldSchemaToJSON ( #4317 )
2023-11-30 09:48:37 -05:00
Jacob Fletcher
57fc211674
fix(live-preview): re-populates externally updated relationships ( #4287 )
2023-11-30 09:47:56 -05:00
Jacob Fletcher
d49bb4351f
feat(live-preview): batches api requests ( #4315 )
2023-11-29 14:03:05 -05:00
Jacob Fletcher
66679fbdd6
fix(live-preview): property resets rte nodes ( #4313 )
2023-11-29 12:24:51 -05:00
Jacob Fletcher
381c158b03
fix(live-preview): compounds merge results ( #4306 )
2023-11-29 10:54:14 -05:00
Jacob Fletcher
aab2407112
fix(live-preview): clear hasMany relationships
2023-11-24 09:57:41 -05:00
Jacob Fletcher
24dacd6712
fix(live-preview): populates rich text relationships
2023-11-22 17:55:42 -05:00
Jacob Fletcher
8a7b41721a
chore: increases live preview testing coverage
2023-11-20 12:58:27 -05:00
Jacob Fletcher
0672e864f3
chore: resolves imports and type errors in live preview test app
2023-11-20 11:30:05 -05:00
Alessio Gravili
c068a8784e
fix(richtext-lexical): Blocks: make sure fields are wrapped in a uniquely-named group, change block node data format, fix react key error ( #3995 )
...
* fix(richtext-lexical): make sure block fields are wrapped in a uniquely-named group
* chore: remove redundant hook
* chore(richtext-lexical): attempt to fix unnecessary unsaved changes warning regression
* cleanup everything
* chore: more cleanup
* debug
* looks like properly cloning the formdata for setting initial state fixes the issue where the old formdata is updated even if node.setFields is not called
* chore: fix e2e tests
* chore: fix e2e tests (a selector has changed)
* chore: fix int tests (due to new blocks data format)
* chore: fix incorrect insert block commands in drawer
* chore: add new e2e test
* chore: fail e2e tests when there are browser console errors
* fix(breaking): beforeInput and afterInput: fix missing key errors, consistent typing and cases in name
2023-11-16 22:01:04 +01:00
Quentin Beauperin
b91711a74a
fix: improves live preview breakpoints and zoom options in dark mode ( #4090 )
2023-11-16 09:10:33 -05:00
Jacob Fletcher
2ad7340154
fix(live-preview): field recursion and relationship population ( #4045 )
2023-11-08 17:28:35 -05:00
Jarrod Flesch
c7a315a7d1
fix: passes correct data to buildStateFromSchema on account page ( #3984 )
...
* chore: fixes e2e tests
2023-11-03 10:30:36 -04:00
Jacob Fletcher
fbc2064a10
chore: deflakes e2e tests ( #3970 )
2023-11-01 17:26:07 -04:00
Jacob Fletcher
3032e0b5a2
fix: global permissions for live preview ( #3854 )
2023-10-24 23:32:55 -04:00
Jacob Fletcher
a13ec2ebc4
fix: renders live preview for globals ( #3801 )
2023-10-23 14:30:51 -04:00
Jacob Fletcher
7fcb972dfa
fix(live-preview): blocks field ( #3753 )
2023-10-19 16:40:16 -04:00
Jacob Fletcher
2697753715
chore(live-preview): significantly improves test coverage ( #3763 )
2023-10-19 14:56:16 -04:00
Jacob Fletcher
20cde242fb
fix(live-preview): properly handles uploads and hasOne monomorphic relationships
2023-10-17 17:00:59 -04:00