(row)
| 99 | } |
| 100 | |
| 101 | async function openShareRowMenu(row) { |
| 102 | const moreButton = row.locator('#moreIcon, .icon-more').first(); |
| 103 | await moreButton.waitFor({ state: 'visible', timeout: 10000 }); |
| 104 | await moreButton.click(); |
| 105 | const menu = row.locator('.popovermenu.menu').first(); |
| 106 | await menu.waitFor({ state: 'visible', timeout: 10000 }); |
| 107 | return menu; |
| 108 | } |
| 109 | |
| 110 | async function setPasswordProtection(row, password) { |
| 111 | const menu = await openShareRowMenu(row); |
no test coverage detected