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:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -309,6 +309,7 @@ jobs:
|
|||||||
- fields__collections__Text
|
- fields__collections__Text
|
||||||
- fields__collections__UI
|
- fields__collections__UI
|
||||||
- fields__collections__Upload
|
- fields__collections__Upload
|
||||||
|
- hooks
|
||||||
- query-presets
|
- query-presets
|
||||||
- form-state
|
- form-state
|
||||||
- live-preview
|
- live-preview
|
||||||
@@ -320,6 +321,7 @@ jobs:
|
|||||||
- plugin-import-export
|
- plugin-import-export
|
||||||
- plugin-nested-docs
|
- plugin-nested-docs
|
||||||
- plugin-seo
|
- plugin-seo
|
||||||
|
- sort
|
||||||
- versions
|
- versions
|
||||||
- uploads
|
- uploads
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export const OrderableTable: React.FC<Props> = ({
|
|||||||
columns,
|
columns,
|
||||||
data: initialData,
|
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
|
// Use the data from ListQueryProvider if available, otherwise use the props
|
||||||
const serverData = listQueryData?.docs || initialData
|
const serverData = listQueryData?.docs || initialData
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user