lint issues fixed #23
Annotations
10 errors
|
src/figma-root.test.ts > figma-root > 'SC301000-taxes':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "SC-000036 - CB Sitework, Inc.",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1628-1852",
"Label": "Subcontract Nbr.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SC-000036",
},
{
"ElementType": "Status",
"Id": "Root-1627-1628-1854",
"Label": "Status",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "On Hold",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1860",
"Label": "Date",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1862",
"Label": "Start Date",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "TextEditor",
"Id": "Root-1627-1628-1866",
"Label": "Vendor Ref.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1868",
"Label": "Vendor",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CBSITEWORK- CB Sitework, Inc.",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1870",
"Label": "Location",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "MAIN - Primary Location",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1872",
"Label": "Owner",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Maxwell Baker",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1874",
"Label": "Project",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CSTRCONCRT- Marriott Bonvoy Hotels Concrete Quote",
},
{
"ElementType": "Currency",
"Id": "Root-1627-1629-1876",
"Label": "Currency",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "USD",
},
{
"ElementType": "MultilineTextEditor",
"Id": "Root-1627-1629-1878",
"Label": "Description",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SITE WORK",
},
],
|
|
src/figma-root.test.ts > figma-root > 'SC301000-financial':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "SC-000036 - CB Sitework, Inc.",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1628-1852",
"Label": "Subcontract Nbr.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SC-000036",
},
{
"ElementType": "Status",
"Id": "Root-1627-1628-1854",
"Label": "Status",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "On Hold",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1860",
"Label": "Date",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1862",
"Label": "Start Date",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "TextEditor",
"Id": "Root-1627-1628-1866",
"Label": "Vendor Ref.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1868",
"Label": "Vendor",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CBSITEWORK- CB Sitework, Inc.",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1870",
"Label": "Location",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "MAIN - Primary Location",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1872",
"Label": "Owner",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Maxwell Baker",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1874",
"Label": "Project",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CSTRCONCRT- Marriott Bonvoy Hotels Concrete Quote",
},
{
"ElementType": "Currency",
"Id": "Root-1627-1629-1876",
"Label": "Currency",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "USD",
},
{
"ElementType": "MultilineTextEditor",
"Id": "Root-1627-1629-1878",
"Label": "Description",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SITE WORK",
},
],
|
|
src/figma-root.test.ts > figma-root > 'SC301000-details':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "SC-000036 - CB Sitework, Inc.",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1628-1852",
"Label": "Subcontract Nbr.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SC-000036",
},
{
"ElementType": "Status",
"Id": "Root-1627-1628-1854",
"Label": "Status",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "On Hold",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1860",
"Label": "Date",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1862",
"Label": "Start Date",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "TextEditor",
"Id": "Root-1627-1628-1866",
"Label": "Vendor Ref.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1868",
"Label": "Vendor",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CBSITEWORK- CB Sitework, Inc.",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1870",
"Label": "Location",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "MAIN - Primary Location",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1872",
"Label": "Owner",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Maxwell Baker",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1874",
"Label": "Project",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CSTRCONCRT- Marriott Bonvoy Hotels Concrete Quote",
},
{
"ElementType": "Currency",
"Id": "Root-1627-1629-1876",
"Label": "Currency",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "USD",
},
{
"ElementType": "MultilineTextEditor",
"Id": "Root-1627-1629-1878",
"Label": "Description",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SITE WORK",
},
],
|
|
src/figma-root.test.ts > figma-root > 'SC301000-addresses':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "SC-000036 - CB Sitework, Inc.",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1628-1852",
"Label": "Subcontract Nbr.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SC-000036",
},
{
"ElementType": "Status",
"Id": "Root-1627-1628-1854",
"Label": "Status",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "On Hold",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1860",
"Label": "Date",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1862",
"Label": "Start Date",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "12/1/2022",
},
{
"ElementType": "TextEditor",
"Id": "Root-1627-1628-1866",
"Label": "Vendor Ref.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1868",
"Label": "Vendor",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CBSITEWORK- CB Sitework, Inc.",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1870",
"Label": "Location",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "MAIN - Primary Location",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1872",
"Label": "Owner",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Maxwell Baker",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1874",
"Label": "Project",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "CSTRCONCRT- Marriott Bonvoy Hotels Concrete Quote",
},
{
"ElementType": "Currency",
"Id": "Root-1627-1629-1876",
"Label": "Currency",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "USD",
},
{
"ElementType": "MultilineTextEditor",
"Id": "Root-1627-1629-1878",
"Label": "Description",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SITE WORK",
},
],
|
|
src/figma-root.test.ts > figma-root > 'PR209800':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": null,
"Children": [
{
"Id": "Root-1627",
"Orientation": "Horizontal",
"Panel1": {
"Children": [
{
"Caption": "WCC Codes",
"Columns": [
{
"Alignment": "Left",
"Cells": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
],
"ColumnType": "Settings",
"Label": "",
"Type": "GridColumn",
},
{
"Alignment": "Center",
"Cells": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
],
"ColumnType": "Files",
"Label": "",
"Type": "GridColumn",
},
{
"Alignment": "Center",
"Cells": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
],
"ColumnType": "Notes",
"Label": "",
"Type": "GridColumn",
},
{
"Alignment": "Center",
"Cells": [
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
"true",
],
"ColumnType": "Checkbox",
"Label": "Active",
"Type": "GridColumn",
},
{
"Alignment": "Left",
"Cells": [
"5022",
"5037",
"5057",
"5102",
"5180",
"5190",
"5213",
"5221",
"5222",
"5403",
"541512",
"541611",
"5437",
"5478",
"5479",
"5480",
"5535",
],
"ColumnType": "Text",
"Label": "WCC Code",
"Type": "GridColumn",
},
{
"Alignment": "Le
|
|
src/figma-root.test.ts > figma-root > 'PO301000-po-history':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "Blanket PO000224 - Goto Vendor Inc",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "DropDown",
"Id": "Root-1627-1628-1914",
"Label": "Type",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Blanket",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1628-1916",
"Label": "Order Nbr.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "PO000224",
},
{
"ElementType": "Status",
"Id": "Root-1627-1628-1918",
"Label": "Status",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "Open",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1924",
"Label": "Date",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "3/2/2015",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-1928",
"Label": "Expires On",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "12/1/2015",
},
{
"ElementType": "TextEditor",
"Id": "Root-1627-1628-1930",
"Label": "Vendor Ref.",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1902",
"Label": "Vendor",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "AAVENDOR- Goto Vendor Inc",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1904",
"Label": "Location",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "MAIN - Primary Location",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1906",
"Label": "Owner",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "Maxwell Baker",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-1908",
"Label": "Project",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "X- Non-Project Code.",
},
{
"ElementType": "Currency",
"Id": "Root-1627-1629-1910",
"Label": "Currency",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "USD",
},
{
"ElementType": "MultilineTextEditor",
"I
|
|
src/figma-root.test.ts > figma-root > 'PM301000-summary':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "TMR03 - Marlin Beverage Process Re-architecture",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1628-2095",
"Label": "Project ID",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "TMR03",
},
{
"ElementType": "Status",
"Id": "Root-1627-1628-2097",
"Label": "Status",
"Mandatory": true,
"ReadOnly": true,
"Type": "Field",
"Value": "Active",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-2099",
"Label": "Start Date",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "9/5/2016",
},
{
"ElementType": "DateTimeEdit",
"Id": "Root-1627-1628-2101",
"Label": "End Date",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "12/31/2024",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1628-2103",
"Label": "Quote Ref. Nbr.",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1629-2105",
"Label": "Template",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "TIME&MAT- Time and Materials with Allocation",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-2107",
"Label": "Project Manager",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-2109",
"Label": "Customer",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "MARLINOFFI- Marlin Office Beverage Service",
},
{
"ElementType": "Currency",
"Id": "Root-1627-1629-2111",
"Label": "Budget Currency Rate",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "USD",
},
{
"ElementType": "MultilineTextEditor",
"Id": "Root-1627-1629-2113",
"Label": "Description",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Marlin Beverage Process Re-architecture",
},
],
"Id": "Root-1627-1629",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "NumberEditor",
"
|
|
src/figma-root.test.ts > figma-root > 'IN204060':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": null,
"Children": [
{
"Id": "Root-1627",
"Orientation": "Horizontal",
"Panel1": {
"Children": [
{
"Caption": "Categories",
"Id": "Root-1627-338-1629",
"Type": "Tree",
},
],
"Id": "Root-1627-338",
"Type": "SplitPanel",
},
"Panel2": {
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "TextEditor",
"Id": "Root-1627-358-1631-1632-1641",
"Label": "Description",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "Laptops",
},
],
"Id": "Root-1627-358-1631-1632",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "TextEditor",
"Id": "Root-1627-358-1631-1633-1639",
"Label": "Parent Category",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Computers",
},
],
"Id": "Root-1627-358-1631-1633",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
],
"Id": "Root-1627-358-1631",
"Name": "1-1",
"Type": "Template",
},
{
"Caption": "Category Members",
"Columns": [
{
"Alignment": "Left",
"Cells": [
"",
"",
],
"ColumnType": "Settings",
"Label": "",
"Type": "GridColumn",
},
{
"Alignment": "Center",
"Cells": [
"false",
"false",
],
"ColumnType": "Checkbox",
"Label": "",
"Type": "GridColumn",
},
{
"Alignment": "Left",
"Cells": [
"AACOMPUT01",
"ELECOMP2",
],
"ColumnType": "Link",
"Label": "Inventory ID",
"Type": "GridColumn",
},
{
"Alignment": "Left",
"Cells": [
"Acer Laptop Computer",
"Lenovo laptop computer",
],
"ColumnType": "Text",
"Label": "Description",
"Type": "GridColumn",
},
{
"Alignment": "Left",
"Cells": [
"ELECCOMP -400-COMPUTERS",
"ELECCOMP -400-COMPUTERS",
],
"ColumnType": "Link",
"Label": "Item Class",
"Type": "GridColumn",
},
{
"Alignment": "Left",
"Cells": [
"Active",
"Active",
],
"ColumnType": "Text",
|
|
src/figma-root.test.ts > figma-root > 'IN202500':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "AACOMPUT01 - Acer Laptop Computer",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1628-2023",
"Label": "Inventory ID",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "AACOMPUT01",
},
{
"ElementType": "DropDown",
"Id": "Root-1627-1628-2025",
"Label": "Item Status",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Active",
},
{
"ElementType": "TextEditor",
"Id": "Root-1627-1628-2027",
"Label": "Description",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Acer Laptop Computer",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1629-2017",
"Label": "Product Workgroup",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-2019",
"Label": "Product Manager",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "",
},
{
"ElementType": "Selector",
"Id": "Root-1627-1629-2021",
"Label": "Template ID",
"Mandatory": false,
"ReadOnly": true,
"Type": "Field",
"Value": "",
},
],
"Id": "Root-1627-1629",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
],
"Id": "Root-1627",
"Name": "1-1",
"Type": "Template",
},
{
"Children": [
{
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "TextEditor",
"Id": "Root-396-1632-1633-1634-1997",
"Label": "Item Class",
"Mandatory": true,
"ReadOnly": false,
"Type": "Field",
"Value": "ELECCOMP -400-COMPUTERS - Computers & Tablets",
},
{
"ElementType": "DropDown",
"Id": "Root-396-1632-1633-1634-1999",
"Label": "Type",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "Finished Good",
},
{
"CheckboxName": "Is a Kit",
"Checked": false,
"ElementType": "CheckBox",
"Id": "Root-396-1632-1633-1634-2001",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
|
|
src/figma-root.test.ts > figma-root > 'toolbar':
figma-plugin/src/figma-root.test.ts#L41
AssertionError: expected { childIndex: -1, …(15) } to deeply equal { childIndex: -1, …(15) }
- Expected
+ Received
{
"acuElement": {
"Caption": "Test",
"Children": [
{
"Children": [
{
"Children": [
{
"ElementType": "Selector",
"Id": "Root-1627-1628-1852",
"Label": "Subcontract Nbr.",
"Mandatory": false,
"ReadOnly": false,
"Type": "Field",
"Value": "SC-000036",
},
],
"Id": "Root-1627-1628",
"Label": null,
"Style": "Gray",
"Type": "FieldSet",
},
],
"Id": "Root-1627",
"Name": "7-10-7",
"Type": "Template",
},
],
"Id": "Root",
"Title": "Toolbar",
"ToolBar": {
"Id": "Root-27",
"Items": [
{
"Enabled": true,
"Icon": "Back",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": false,
"Icon": "SaveAndBack",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": false,
"Icon": "Save",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "Undo",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "Insert",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "Delete",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "Copy",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "First",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "Previous",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "Next",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": "Last",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": true,
"Icon": null,
"ItemType": "Button",
"Style": "Special",
"Text": "Remove Hold",
},
{
"Enabled": true,
"Icon": "Ellipsis",
"ItemType": "Button",
"Style": "Secondary",
"Text": null,
},
],
"ShowRightAction": false,
"ShowSaveButton": false,
"ToolBarType": "Record",
"Type": "ToolBar",
},
"Type": "Root",
},
"childIndex": -1,
"children": [
{
"acuElement": {
"Id": "Root-27",
"Items": [
{
"Enabled": true,
"Icon": "Back",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": false,
"Icon": "SaveAndBack",
"ItemType": "Button",
"Style": "Tertiary",
"Text": null,
},
{
"Enabled": false,
"Icon": "Save",
"ItemType": "Button",
"St
|