test(09-04): add failing tests for typed list filters
- Switch, date-range, and model-scope filters must keep typed values - Option labels localize without changing identifiers or cached keys - Raw conditions, unknown scopes, and arbitrary methods fail activation
This commit is contained in:
17
cabana/testdata/list/all_filters.yaml
vendored
Normal file
17
cabana/testdata/list/all_filters.yaml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
scopes:
|
||||
activated:
|
||||
label: demo.lang.activated
|
||||
type: switch
|
||||
column: active
|
||||
options:
|
||||
true: demo.lang.yes
|
||||
false: demo.lang.no
|
||||
created:
|
||||
label: demo.lang.created_range
|
||||
type: daterange
|
||||
column: created_at
|
||||
grouped:
|
||||
label: demo.lang.grouped
|
||||
modelClass: Group
|
||||
nameFrom: name
|
||||
scope: filterByGroup
|
||||
Reference in New Issue
Block a user