This is a UI test plugin for OctoberCMS. Extract this archive to /plugins/october/test
and click on Playground in the back-end area.
The following sections are explored, tested and demonstrated along with a list of the features used:
A Person "Has One" Phone (One to one relationship)
- Relation Controller
- Record Finder
- Proxy Form fields
- Date pickers
- Context-based Form fields
A Post "Has Many" Comments (One to many relationship)
- Relation Controller
- Popup-based Form fields
- Rich Editor
- Dual Form Controller and List Controller
- HTML in comments
User "Belongs To Many" Roles (Many to many relationship)
- Relation Controller (Standard, Pivot data, Pivot model)
- Image Uploaders (Single, Multi, File, Image)
- Number field
- No click list column
- Custom File model
A Country "Has Many" Posts "Through" a User (Has many through relationship)
- Checkbox list
- Default form field values
- Field dependency and filtering
- Repeater fields
- Tabs empty with no fields
Reviews "Morph To" Plugins and Themes as Product (Polymorphic relationships) Meta "Morph To" Plugins and Themes as Product (Polymorphic relationships) Plugins and Themes "Morph Many" Reviews Plugins and Themes "Morph One" Meta
A Member uses a simple tree (parent-child) structure.
A Category uses a simple tree structure, with sorting.
A Channel uses a nested set tree structure.
-
An attach relation when required inside a tab does not make the tab active.
-
Proxy fields throw a nasty error when the relation is non existant.
-
Deleting multiple Comments from a Post (deferred) only deletes one comment.
-
Constrained relations should not appear in RecordFinder (Phone:is_active) and Relation Controller lists (Comment:is_visible).
-
Record Finder does not incorporate deferred bindings.
-
HasOne relations acting as HasMany will break the list completely.
-
Pivot model with required field doesn't show the asterisk on the form.
-
All relation controllers
-
Test that input preset API works on fields
-
Test that trigger API works on fields