diff --git a/cypress/e2e/5-ndv.cy.ts b/cypress/e2e/5-ndv.cy.ts index 66978e4b33..23223aa0bf 100644 --- a/cypress/e2e/5-ndv.cy.ts +++ b/cypress/e2e/5-ndv.cy.ts @@ -712,7 +712,7 @@ describe('NDV', () => { .outputDataContainer() .should( 'have.text', - '[{"body": " Introduction to XML John Doe 2020 1234567890 Data Science Basics Jane Smith 2019 0987654321 Programming in Python Bob Johnson 2021 5432109876 "}]', + '[{"body": " Introduction to XML John Doe 2020 1234567890 Data Science Basics Jane Smith 2019 0987654321 Programming in Python Bob Johnson 2021 5432109876 "}]', ); ndv.getters.outputDataContainer().find('mark').should('have.text', ' { }, 1000); // ensure dest data gets set if drop }; -const getContent = (value: unknown) => { +const formatKey = (value: unknown) => { return isString(value) ? `"${value}"` : JSON.stringify(value); }; +const formatValue = (value: unknown) => { + return JSON.stringify(value); +}; + const getListItemName = (path: string) => { return path.replace(/^(\["?\d"?]\.?)/g, ''); }; @@ -168,7 +172,7 @@ const getListItemName = (path: string) => { >