Closed v-rusraut closed 4 months ago
Why should the property be empty? Is there public documentation regarding this? Also the test needs to change since serizliedData is not empty in the unit test
Here, we are not validating whether the serializedData property is empty. Instead, we are validating within serializedData to check if the property "Headers" are empty ([]). If so, we want to skip this property to avoid ARM TTK failures. To resolve this ARM TTK error, we must manually remove this property from serializedData. Therefore, we believe it should not result in an ARM TTK failure.
Why should the property be empty? Is there public documentation regarding this?
Also if you want serializedData.Headers should be empty, can you change the code accordingly?
Here source file contains headers and columns property with []. That's why serializedData contains headers and columns property with []. so, we need to skip this validation.
Please refer documentation link: https://learn.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#work-with-json-formatted-workbook-data-in-the-serializeddata-template-parameter
Thanks
Ignore "serializedData" if it contain [] property. After running tests locally we see below for the added test case on "serializedData" property :![image](https://github.com/Azure/arm-ttk/assets/126679503/b78d6acb-4790-4fc6-aaff-bcef3a10c82d)