( tableTitle: string, rowId: string, actionTitle: string, )
| 32 | }; |
| 33 | |
| 34 | const getRowAction = ( |
| 35 | tableTitle: string, |
| 36 | rowId: string, |
| 37 | actionTitle: string, |
| 38 | ): HTMLElement => { |
| 39 | const row = getDetails(tableTitle) |
| 40 | .querySelector(`th[title="${rowId}"]`) |
| 41 | ?.closest('tr'); |
| 42 | expect(row).not.toBeNull(); |
| 43 | const action = row?.querySelector(`img[title="${actionTitle}"]`); |
| 44 | expect(action).not.toBeNull(); |
| 45 | return action as HTMLElement; |
| 46 | }; |
| 47 | |
| 48 | const getValueAction = (valueId: string, actionTitle: string): HTMLElement => { |
| 49 | const row = getDetails('Values') |
no test coverage detected
searching dependent graphs…