test_crud
Test a complete CRUD cycle for web applications by creating, verifying, editing, and deleting items. Automatically validates that each action persists, ensuring data integrity across the application.
Instructions
Test a complete Create → Verify → Edit → Verify → Delete → Verify cycle.
Navigates to the create form, fills it, submits, then verifies the item exists on the list page. Then finds edit/delete buttons and tests those too.
Args: create_url: URL of the create/new form (e.g. "/tasks/new") list_url: URL where created items appear (e.g. "/tasks") item_data: Dict of field:value pairs for creating the item item_name_field: Key in item_data that identifies the item (e.g. "title"). Auto-detects if empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| create_url | Yes | ||
| list_url | Yes | ||
| item_data | Yes | ||
| item_name_field | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |