https://cypress.io logo
when I log an array full of objects using cy.log, ...
# e2e-testing
b
when I log an array full of objects using cy.log, is there a way to copy that array of objects without the extra stuff? it logs like this in the console:
Copy code
(24) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
0
: 
{Item ID: '121-FZ-01-1', Item Description: 'Arrowtooth Flounder Fz 2/4 Lb Whole 50# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '50# Case ', …}
1
: 
{Item ID: '121-FZ-01-2', Item Description: 'Arrowtooth Flounder Fz 4/6 Lb Whole 50# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '50# Case ', …}
2
: 
{Item ID: '121-FZ-23-1', Item Description: 'Arrowtooth Flounder Fz 6-8 oz Fillets 30# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '30# Case', …}
3
: 
{Item ID: '123-FZ-01-1', Item Description: 'Rock Sole Fz 400-600g Whole 60# Bag', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '60# Bag', …}
4
: 
{Item ID: '123-FZ-01-2', Item Description: 'Rock Sole Fz > 600g Whole 60# Bag', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '60# Bag', …}
5
: 
{Item ID: '139-FZ-23-1', Item Description: 'Rockfish Fz O/R Fillets 15# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '15# Case', …}