File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
packages/compass-e2e-tests Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1451,4 +1451,5 @@ export const DataModelsListItem = (diagramName: string) =>
14511451export const DataModelsListItemActions = ( diagramName : string ) =>
14521452 `${ DataModelsListItem ( diagramName ) } [aria-label="Show actions"]` ;
14531453export const DataModelsListItemDeleteButton = `[data-action="delete"]` ;
1454+ export const DataModelingDiagram = '.react-flow' ;
14541455export const DataModelingDiagramNode = '.react-flow__node > div' ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
1515} from '../helpers/insert-data' ;
1616
1717async function getDiagramNodes ( browser : CompassBrowser ) : Promise < string [ ] > {
18+ await browser . waitForAnimations ( Selectors . DataModelingDiagram ) ;
1819 return await browser
1920 . $$ ( Selectors . DataModelingDiagramNode )
2021 . map ( ( element ) => element . getAttribute ( 'title' ) ) ;
You can’t perform that action at this time.
0 commit comments