From 55a7f5c188a8d3bf7403a6af95021a3e06846ab3 Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Wed, 24 Jan 2024 10:42:09 +0100 Subject: [PATCH] chore: check that the filter worked --- cypress/integration/dataTable.cy.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cypress/integration/dataTable.cy.js b/cypress/integration/dataTable.cy.js index 50a15be71..80a52d579 100644 --- a/cypress/integration/dataTable.cy.js +++ b/cypress/integration/dataTable.cy.js @@ -38,5 +38,11 @@ describe('data table', () => { .containsExact('Name') .siblings('input') .type('Kakua') + + // check that the filter worked + cy.getByDataTest('bottom-panel') + .find('.ReactVirtualized__Table__row') + .should('have.length', 1) + }) })