From 9277a40b37c6df71dd130c50616d27fc16fca705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Thu, 1 Apr 2021 14:28:38 +0200 Subject: [PATCH] adds sorting to cypress views test --- packages/builder/cypress/integration/createView.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/cypress/integration/createView.spec.js b/packages/builder/cypress/integration/createView.spec.js index a6b171c8d0..a34f68422a 100644 --- a/packages/builder/cypress/integration/createView.spec.js +++ b/packages/builder/cypress/integration/createView.spec.js @@ -109,7 +109,7 @@ context("Create a View", () => { .find(".ag-cell") .then($values => { const values = Array.from($values).map(value => value.textContent) - expect(values).to.deep.eq([ + expect(values.sort()).to.deep.eq([ "Students", "23.333333333333332", "1650", @@ -117,7 +117,7 @@ context("Create a View", () => { "25", "20", "70", - ]) + ].sort()) }) })