From 2849ccb4b91b058774c13296b0327560c2d0c3e6 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 16 Feb 2021 21:40:35 +0000 Subject: [PATCH] Updating cypress test to fix in CI. --- packages/builder/cypress/integration/createView.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/cypress/integration/createView.spec.js b/packages/builder/cypress/integration/createView.spec.js index ba18368ecf..1c13635ebd 100644 --- a/packages/builder/cypress/integration/createView.spec.js +++ b/packages/builder/cypress/integration/createView.spec.js @@ -62,9 +62,10 @@ context("Create a View", () => { expect(headers).to.deep.eq([ 'avg', 'sumsqr', 'count', 'max', 'min', 'sum', 'field' ]) }) cy.get(".ag-cell").then($values => { - const values = Array.from($values).map(header => + let values = Array.from($values).map(header => header.textContent.trim() ) + values = values.filter(value => value !== "") expect(values).to.deep.eq([ '31', '5347', '5', '49', '20', '155', 'age' ]) }) })