File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/browser/modules/Stream/CypherFrame/VisualizationView/PropertiesPanelContent Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -267,8 +267,9 @@ describe('Viz rendering', () => {
267267
268268 // Check that can scroll overview panel
269269 const showAllButtonText = 'Show all'
270- cy . get ( `button:contains("${ showAllButtonText } ")` ) . scrollIntoView ( )
271- cy . get ( `button:contains("${ showAllButtonText } ")` ) . should ( 'be.visible' )
270+ cy . get ( `button:contains("${ showAllButtonText } ")` )
271+ . scrollIntoView ( )
272+ . should ( 'be.visible' )
272273
273274 // Open node properties details panel
274275 const nodeSelector = '.node'
@@ -282,7 +283,7 @@ describe('Viz rendering', () => {
282283 cy . contains ( lastPropName ) . should ( 'exist' )
283284
284285 // For some reason need to get to the td to be able to scroll to it, hence the parent()
285- cy . get ( 'tr td span ' ) . contains ( lastPropName ) . parent ( ) . scrollIntoView ( )
286+ cy . get ( '[data-testid="viz-details-pane-body"] ' ) . scrollTo ( 'bottom' )
286287 cy . get ( 'tr td span' ) . contains ( lastPropName ) . should ( 'be.visible' )
287288 } )
288289} )
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export function DetailsPane({
8686 )
8787 } ) }
8888 </ PaneHeader >
89- < PaneBody >
89+ < PaneBody data-testid = "viz-details-pane-body" >
9090 < PropertiesTable
9191 visibleProperties = { visibleItemProperties }
9292 onMoreClick = { handleMorePropertiesClick }
You can’t perform that action at this time.
0 commit comments