Jarrod Flesch
114ade7456
chore: wip rte field work
2024-03-28 16:53:32 -04:00
Alessio Gravili
93dd6b5a98
chore: add skipped, failing lexical e2e test for errors within nested block fields, fix lexical seed data, disable access-control test ( #5508 )
2024-03-28 13:36:05 -04:00
Patrik
5873dfb731
fix(ui): incorrect conditions in WhereBuilder ( #5503 )
...
* fix: relationship field tests e2e
* chore: adds POLL_TOPASS_TIMEOUT to relationship field tests
* chore: adds comments to relationship test waits
2024-03-28 13:14:00 -04:00
Jarrod Flesch
c1d654c4ce
fix(tests): passing tabs test in fields suite ( #5463 )
2024-03-28 11:28:37 -04:00
Dan Ribbens
460ca99fe1
chore: alpha fix test defaultvalues ( #5500 )
2024-03-27 16:47:22 -04:00
Alessio Gravili
c16b869fea
Merge pull request #5491 from payloadcms/temp24
...
fix: form-state issues
2024-03-27 16:28:26 -04:00
Alessio Gravili
8deb19e3ac
chore: replace incorrect usage of saveDocAndAssert helpers
2024-03-27 16:17:46 -04:00
Alessio Gravili
db8e805a96
fix: improve error path merging from server, make sure no new or removed rows/values coming from the server are being considered outside addFieldRow
2024-03-27 15:55:19 -04:00
Dan Ribbens
2fb265ae2d
chore: fix broken fields test ( #5492 )
2024-03-27 12:39:09 -04:00
Elliot DeNolf
3b5e7f1dc4
chore: unprettify tsconfig.json to avoid needing to reformat
2024-03-27 12:28:19 -04:00
Alessio Gravili
08ff286f9a
chore: e2e: replace flaky manual save actions with non-flaky saveDocAndAssert helper
2024-03-27 12:18:17 -04:00
Alessio Gravili
a7afb1f680
chore: enable all lexical e2e tests
2024-03-27 11:54:12 -04:00
Paul
aba7c13a1d
chore: rename the DB strings in buildconfigwithdefaults to DATABASE_URI ( #5490 )
...
* chore: rename the DB strings in buildconfigwithdefaults to DATABASE_URI
* reverse name change for postgres strings
2024-03-27 12:34:10 -03:00
Paul
f59d3f36d1
chore: add process.env.MONGO_URL to buildconfigwithdefaults with fallback to string ( #5489 )
2024-03-27 12:00:42 -03:00
Elliot DeNolf
8aa8a380e1
test: missing test dir deps, update cpa create project suite
2024-03-26 18:45:53 -04:00
Elliot DeNolf
5cf49aa166
chore: implement AST parsing of next config
2024-03-26 18:45:52 -04:00
Dan Ribbens
a1e8c4eb2b
fix(db-postgres): query with contains operator hasMany ( #5481 )
2024-03-26 15:26:46 -04:00
Paul
f4acc74eee
chore: added iframe content test for live-preview test ( #5476 )
2024-03-26 15:03:18 -03:00
Dan Ribbens
3d1378ab77
fix: duplicate db called with incorrect data ( #5475 )
2024-03-26 13:51:25 -04:00
Jacob Fletcher
20b4585666
chore: properly types cell components ( #5474 )
2024-03-26 12:08:33 -04:00
Paul
9c7e7ed8d4
fix(ui): custom buttons and e2e refresh permissions test ( #5458 )
...
* moved refresh permissions test suite to access control
* support for custom Save, SaveDraft and Publish buttons in admin config for collections and globals
* moved navigation content to client side so that permissions can be refreshed from active state
2024-03-26 11:48:00 -03:00
Alessio Gravili
436c4f2736
fix: missing withConditions for Upload, Select, Password, Blocks, Array fields ( #5471 )
...
* fix: missing withConditions for Upload, Select, Password, Blocks, Array fields. Fixes Lexical e2e tests
* chore: skip failing lexical test for now
2024-03-26 10:38:48 -04:00
Dan Ribbens
0ce752af79
fix: regression of filterOptions using different transaction ( #5450 )
2024-03-26 10:13:57 -04:00
Jarrod Flesch
92ff896bdb
chore: adjusts e2e to watch for new file url paths ( #5467 )
2024-03-26 00:44:21 -04:00
Alessio Gravili
56f9c88251
chore: optimize test seed payload.create calls and run them in parallel to reduce MongoDB errors
2024-03-25 23:58:55 -04:00
Alessio Gravili
8a5a08cbe1
chore: fix test seed helper keeping all uploads deleted during test run, as they weren't restored like the db snapshot
2024-03-25 23:57:54 -04:00
Alessio Gravili
5241c38ba0
chore: speed up tests by not running seed twice for the first test, and reduce flakiness of lexical e2e test suite
2024-03-25 23:55:42 -04:00
Jacob Fletcher
072a903351
Merge pull request #5461 from payloadcms/fix/misc-views
...
Fix/misc views
2024-03-25 23:35:15 -04:00
Jacob Fletcher
1c1847f63c
fix(next): dynamic params for custom collection and global views
2024-03-25 22:56:19 -04:00
Alessio Gravili
c3d9d8ee2f
Merge pull request #5460 from payloadcms/temp14
...
fix: various issues impacting lexical e2e tests
2024-03-25 20:50:57 -04:00
Alessio Gravili
65932b65d2
chore: fields test: fix Mongo write errors during seed by making create calls run sequentially.
...
Adds easy way of toggling between parallel or sequential runs, and optimized performance of create calls
2024-03-25 20:39:56 -04:00
Alessio Gravili
682e961416
chore: run lexical e2e's in CI, adjust runE2E to allow running just the fields/lexical.e2e.spec.ts
2024-03-25 17:17:13 -04:00
Alessio Gravili
9fcccc8197
chore: add payload/no-jsx-import-statements eslint rule to eslint-config-payload by default
2024-03-25 17:08:43 -04:00
Alessio Gravili
72f3ced219
chore: fix incorrect logic in auth test
2024-03-25 17:07:55 -04:00
Alessio Gravili
74de066529
chore: skip last lexical e2e test for now
2024-03-25 16:56:44 -04:00
Patrik
30d9d46dd8
test: passing point fields test suite ( #5401 )
...
* test: passing point fields test suite
* chore: removes waits from point fields test suite
* chore: removes unnecessary waits in dates field test suite
* chore: removes waits entirely from dates tests
* chore: adds translates function for longitude/latitude
* chore: renames coordinate function and conditionally renders hypen in the function
2024-03-25 16:36:02 -04:00
Elliot DeNolf
f7ca01bafd
test: convert PrePopulateFieldUI to client component ( #5456 )
2024-03-25 15:38:37 -04:00
Jacob Fletcher
7654ff686a
fix(ui): throws explicit error for custom view tabs that are client components
2024-03-25 15:37:57 -04:00
Patrik
a9b46a4d63
fix(ui): properly formats collapsible field IDs ( #5435 )
...
* test: passing collapsible fields test suite
* chore: passes indexPath into ArrayRow & updates path in collapsible field
* fix: collapsible paths and indexPath prop types
* chore: improves path and schemaPath syntax
* leftover
* chore: updates selectors in collapsibles tests
* chore: updates selector in live-preview test suite
---------
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
2024-03-25 14:16:35 -04:00
Elliot DeNolf
76e9bd8ad6
chore: enable no-jsx-import-statements for test dir
2024-03-25 13:51:30 -04:00
Elliot DeNolf
43f91ca42c
test: run prettier on tsconfig.json after test
2024-03-25 13:36:29 -04:00
Patrik
2cd8d891a1
test: passing date fields test suite ( #5412 )
...
* test: passing date fields test suite
* chore: reverts dates from 2024 back to 2023 to remove clutter
2024-03-25 11:49:44 -04:00
Dan Ribbens
7fc33af1e5
fix: image resize tiff files ( #5449 )
2024-03-25 11:09:17 -04:00
Alessio Gravili
aea28b28d0
Merge remote-tracking branch 'origin/alpha' into temp11
2024-03-25 10:18:08 -04:00
Paul
ee4cd61696
chore: enable e2e live preview ( #5444 )
2024-03-25 08:39:34 -03:00
Elliot DeNolf
d5935ea81b
chore: lint all json/yml, add to lint-staged
2024-03-24 23:16:26 -04:00
Alessio Gravili
934ad96a98
chore: unflake lexical
2024-03-22 17:09:06 -04:00
Alessio Gravili
2c68f8fba1
chore: unflake access-control, fix incorrect poll & toPass timeouts
2024-03-22 16:42:41 -04:00
Alessio Gravili
4c109a467f
chore: AdminUrlUtil: add ?limit=10 to list view url generator, as it would automatically redirect anyways. Had potential for flaky tests
2024-03-22 15:59:03 -04:00
Alessio Gravili
bc4f6aaf9c
chore: improve id type of adminUrlUtil
2024-03-22 15:46:01 -04:00