11import { expect } from '@vaadin/chai-plugins' ;
22import { sendKeys } from '@vaadin/test-runner-commands' ;
3- import {
4- aTimeout ,
5- enter ,
6- esc ,
7- fixtureSync ,
8- focusin ,
9- focusout ,
10- isFirefox ,
11- nextFrame ,
12- oneEvent ,
13- } from '@vaadin/testing-helpers' ;
3+ import { aTimeout , enter , esc , fixtureSync , focusin , focusout , nextFrame , oneEvent } from '@vaadin/testing-helpers' ;
144import sinon from 'sinon' ;
155import '../src/vaadin-grid-pro.js' ;
166import '../src/vaadin-grid-pro-edit-column.js' ;
@@ -666,8 +656,7 @@ describe('edit column', () => {
666656 expect ( hasEditablePart ( 0 , cells . length - 1 ) ) . to . be . true ;
667657 } ) ;
668658
669- // Focus button mode that is active on MacOS causes issues with Tab key navigation in Firefox when run with Playwright
670- ( isFirefox && isMac ? it . skip : it ) ( 'should navigate through editable cells with Tab' , async ( ) => {
659+ it ( 'should navigate through editable cells with Tab' , async ( ) => {
671660 let cell = getCellByColumnPath ( 'col1' ) ;
672661 cell . focus ( ) ;
673662 await sendKeys ( { press : 'Enter' } ) ;
@@ -686,22 +675,19 @@ describe('edit column', () => {
686675 expect ( getCellEditor ( cell ) ) . to . be . ok ;
687676 } ) ;
688677
689- ( isFirefox && isMac ? it . skip : it ) (
690- 'should focus next editable cell outside viewport with singleCellEdit' ,
691- async ( ) => {
692- grid . singleCellEdit = true ;
678+ it ( 'should focus next editable cell outside viewport with singleCellEdit' , async ( ) => {
679+ grid . singleCellEdit = true ;
693680
694- const cell = getCellByColumnPath ( 'col3' ) ;
695- cell . focus ( ) ;
696- await sendKeys ( { press : 'Enter' } ) ;
697- expect ( getCellEditor ( cell ) ) . to . be . ok ;
681+ const cell = getCellByColumnPath ( 'col3' ) ;
682+ cell . focus ( ) ;
683+ await sendKeys ( { press : 'Enter' } ) ;
684+ expect ( getCellEditor ( cell ) ) . to . be . ok ;
698685
699- await sendKeys ( { press : 'Tab' } ) ;
686+ await sendKeys ( { press : 'Tab' } ) ;
700687
701- const nextCell = getCellByColumnPath ( 'col5' ) ;
702- expect ( nextCell . contains ( grid . shadowRoot . activeElement ) ) . to . be . true ;
703- } ,
704- ) ;
688+ const nextCell = getCellByColumnPath ( 'col5' ) ;
689+ expect ( nextCell . contains ( grid . shadowRoot . activeElement ) ) . to . be . true ;
690+ } ) ;
705691
706692 it ( 'should edit cell again after it was temporarily removed due to scrolling' , async ( ) => {
707693 const cell = getCellByColumnPath ( 'col1' ) ;
0 commit comments