ci: add sort and hooks suites to the e2e tests matrix (#12023)

Trying to understand why bug #12002 arose, I found that both the `sort`
and `hooks` test suites are not running in CI.

I'm adding those 2 suites to the array, though later we should find a
way to automate this so it doesn't happen again. Manually rewriting all
test suites in the GitHub action is error-prone. It's very easy to
forget to add it when creating a new test suite
This commit is contained in:
Germán Jabloñski
2025-04-10 09:51:24 -03:00
committed by GitHub
parent 7aa3c5ea6b
commit ae9e5e19ad
2 changed files with 3 additions and 1 deletions

View File

@@ -309,6 +309,7 @@ jobs:
- fields__collections__Text
- fields__collections__UI
- fields__collections__Upload
- hooks
- query-presets
- form-state
- live-preview
@@ -320,6 +321,7 @@ jobs:
- plugin-import-export
- plugin-nested-docs
- plugin-seo
- sort
- versions
- uploads
env:

View File

@@ -29,7 +29,7 @@ export const OrderableTable: React.FC<Props> = ({
columns,
data: initialData,
}) => {
const { data: listQueryData, handleSortChange, orderableFieldName, query } = useListQuery()
const { data: listQueryData, orderableFieldName, query } = useListQuery()
// Use the data from ListQueryProvider if available, otherwise use the props
const serverData = listQueryData?.docs || initialData