import { Cells } from './cells'; export class Row { cells = new Cells(this); constructor(private selector, private index) {} get element() { return cy.get(`${this.selector} .ag-center-cols-container [row-index="${this.index}"]`); } toggleExpandState() { this.element.find('[class*="ag-row-group-indent"]').click(); } }