MCPcopy Create free account
hub / github.com/Rello/analytics / openShareRowMenu

Function openShareRowMenu

tests/playwright/50_navigation_share.js:101–108  ·  view source on GitHub ↗
(row)

Source from the content-addressed store, hash-verified

99}
100
101async 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
110async function setPasswordProtection(row, password) {
111 const menu = await openShareRowMenu(row);

Callers 2

setPasswordProtectionFunction · 0.85
setNavigationPermissionFunction · 0.85

Calls 1

firstMethod · 0.80

Tested by

no test coverage detected