@@ -3372,8 +3372,8 @@ describe('AnalyticalTable', () => {
33723372 return < AnalyticalTable data = { generateMoreData ( 500 ) } columns = { columns } ref = { tableRef } /> ;
33733373 } ;
33743374 cy . mount ( < ScrollTo /> ) ;
3375- cy . findByText ( 'Name-12' ) . should ( 'be.visible' ) ;
3376- cy . findByText ( 'Name-11' ) . should ( 'not.be.visible' ) ;
3375+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( 'Name-12' ) . should ( 'be.visible' ) ;
3376+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( 'Name-11' ) . should ( 'not.be.visible' ) ;
33773377
33783378 const ScrollToItem = ( ) => {
33793379 const tableRef = useRef ( null ) ;
@@ -3383,8 +3383,8 @@ describe('AnalyticalTable', () => {
33833383 return < AnalyticalTable data = { generateMoreData ( 500 ) } columns = { columns } ref = { tableRef } /> ;
33843384 } ;
33853385 cy . mount ( < ScrollToItem /> ) ;
3386- cy . findByText ( 'Name-12' ) . should ( 'be.visible' ) ;
3387- cy . findByText ( 'Name-11' ) . should ( 'not.be.visible' ) ;
3386+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( 'Name-12' ) . should ( 'be.visible' ) ;
3387+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( 'Name-11' ) . should ( 'not.be.visible' ) ;
33883388
33893389 const ScrollToHorizontal = ( ) => {
33903390 const tableRef = useRef ( null ) ;
@@ -3403,8 +3403,8 @@ describe('AnalyticalTable', () => {
34033403 ) ;
34043404 } ;
34053405 cy . mount ( < ScrollToHorizontal /> ) ;
3406- cy . findByText ( '13' ) . should ( 'be.visible' ) ;
3407- cy . findByText ( '12' ) . should ( 'not.be.visible' ) ;
3406+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( '13' ) . should ( 'be.visible' ) ;
3407+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( '12' ) . should ( 'not.be.visible' ) ;
34083408 const ScrollToItemHorizontal = ( ) => {
34093409 const tableRef = useRef ( null ) ;
34103410 useEffect ( ( ) => {
@@ -3419,8 +3419,8 @@ describe('AnalyticalTable', () => {
34193419 ) ;
34203420 } ;
34213421 cy . mount ( < ScrollToItemHorizontal /> ) ;
3422- cy . findByText ( '13' ) . should ( 'be.visible' ) ;
3423- cy . findByText ( '12' ) . should ( 'not.be.visible' ) ;
3422+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( '13' ) . should ( 'be.visible' ) ;
3423+ cy . get ( '[data-component-name="AnalyticalTableContainer"]' ) . findByText ( '12' ) . should ( 'not.be.visible' ) ;
34243424 } ) ;
34253425
34263426 it ( 'additionalEmptyRowsCount' , ( ) => {
0 commit comments