From 4cebfe3ee00417c33829b4f977d512ab8e064c47 Mon Sep 17 00:00:00 2001 From: ugur-vaadin Date: Tue, 19 Mar 2024 01:15:49 +0200 Subject: [PATCH] test: fix unit test for firefox --- packages/grid-pro/test/edit-column-type.common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/grid-pro/test/edit-column-type.common.js b/packages/grid-pro/test/edit-column-type.common.js index 61a88a51598..2ba9574640e 100644 --- a/packages/grid-pro/test/edit-column-type.common.js +++ b/packages/grid-pro/test/edit-column-type.common.js @@ -371,8 +371,8 @@ describe('edit column editor type', () => { cell.focus(); await sendKeys({ down: 'a' }); await sendKeys({ down: 'b' }); - editor = column._getEditorComponent(cell); - expect(editor.value).to.be.equal('ab'); + await sendKeys({ down: 'Enter' }); + expect(cell._content.textContent).to.equal('ab'); }); }); });