flotwig / cypress-log-to-output

A Cypress plugin that sends all logs that occur in the browser to stdout in the terminal.
146 stars 19 forks source link

Properly log objects #19

Open brunolemos opened 3 years ago

brunolemos commented 3 years ago

I expected it to log an array of objects like this:

image

But it's logging like this, I don't see the values:

                                   "type": "object",
                                   "subtype": "array",
                                   "className": "Array",
                                   "description": "Array(3)",
                                   "objectId": "900438881928784280.13.19",
                                   "preview": {
                                     "type": "object",
                                     "subtype": "array",
                                     "description": "Array(3)",
                                     "overflow": false,
                                     "properties": [
                                       {
                                         "name": "0",
                                         "type": "object",
                                         "value": "Sc"
                                       },
                                       {
                                         "name": "1",
                                         "type": "object",
                                         "value": "Sc"
                                       },
                                       {
                                         "name": "2",
                                         "type": "object",
                                         "value": "Sc"
                                       }
                                     ]
                                   }
                                 }

How to?