test(09-04): add failing tests for ordered list schemas

- Columns, actions, default sort, and page sizes must compile to typed JSON
- Empty and single declarations stay arrays and keep source order
- Unsupported keys, actions, defaults, and path escape fail activation
This commit is contained in:
Jakub Zych
2026-09-24 18:43:26 +02:00
parent db3d7222e9
commit fd591ed3a7
2 changed files with 310 additions and 0 deletions

20
cabana/testdata/list/all_columns.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
columns:
name:
label: demo.lang.name
type: text
searchable: true
sortable: true
created_at:
label: demo.lang.created
type: datetime
sortable: true
active:
label: demo.lang.active
type: switch
sortable: false
genre:
label: demo.lang.genre
relation: genre
select: name
searchable: true
sortable: false