diff --git a/cypress/support/elements/tile/TableToolTile.js b/cypress/support/elements/tile/TableToolTile.js index 737f14604..68fb922ff 100644 --- a/cypress/support/elements/tile/TableToolTile.js +++ b/cypress/support/elements/tile/TableToolTile.js @@ -89,7 +89,7 @@ class TableToolTile{ this.getTableCell().eq(cell).type(num+'{enter}'); } getTableIndexColumnCell(){ - return cy.get('.canvas .rdg-cell.index-column'); + return this.getTableTile().find('.rdg-cell.index-column'); } // Fill in a table tile with the given data (a list of lists) // Table tile should in the default state (2 columns, no rows)