(valueId: string, actionTitle: string)
| 49 | }; |
| 50 | |
| 51 | const getValueAction = (valueId: string, actionTitle: string): HTMLElement => { |
| 52 | const row = getDetails('Values') |
| 53 | .querySelector(`th[title="${valueId}"]`) |
| 54 | ?.closest('tr'); |
| 55 | expect(row).not.toBeNull(); |
| 56 | const action = row?.querySelector(`img[title="${actionTitle}"]`); |
| 57 | expect(action).not.toBeNull(); |
| 58 | return action as HTMLElement; |
| 59 | }; |
| 60 | |
| 61 | const getCellAction = ( |
| 62 | tableTitle: string, |
no test coverage detected
searching dependent graphs…