Updating cypress test to fix in CI.

This commit is contained in:
mike12345567 2021-02-16 21:40:35 +00:00
parent 6e198a8ce1
commit 6d519e1ad9
1 changed files with 2 additions and 1 deletions

View File

@ -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' ])
})
})