{
    "description": {
        "author": "Salesforce",
        "text": [
            "Component that wraps setup-record-form and setup-agentic-record-form.",
            "Renders setup-record-form when Enhanced Agent for Setup beta is disabled and setup-agentic-record-form when enabled.",
            "Selector: setup-record-form-output"
        ]
    },
    "shadow": {
        "elements": [
            {
                "name": "agenticRecordForm",
                "selector": {
                    "css": "setup-agentic-record-form"
                },
                "type": "utam-setup/pageObjects/agenticRecordForm",
                "description": "Represents the agentic record form component rendered when beta feature is enabled",
                "nullable": true,
                "wait": true,
                "public": true
            },
            {
                "name": "recordForm",
                "selector": {
                    "css": "setup-record-form"
                },
                "type": "utam-setup/pageObjects/recordForm",
                "description": "Represents the standard record form component rendered when beta feature is disabled",
                "nullable": true,
                "wait": true,
                "public": true
            }
        ]
    },
    "methods": [
        {
            "name": "isAgenticRecordFormVisible",
            "description": {
                "text": [
                    "Check if agentic record form is present and visible (beta enabled)"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "agenticRecordForm",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isRecordFormVisible",
            "description": {
                "text": [
                    "Check if standard record form is present and visible (beta disabled)"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "recordForm",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "verifyAgenticRecordFormPresence",
            "description": {
                "text": [
                    "Returns true if element \"agenticRecordForm\" is present on the page"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "agenticRecordForm",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        },
        {
            "name": "verifyRecordFormPresence",
            "description": {
                "text": [
                    "Returns true if element \"recordForm\" is present on the page"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "recordForm",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        }
    ]
}