async function rightClick (el) {
loc = el.getLocation(); //get the location of the element we want to click
await browser.actions().mouseMove(loc).perform(); //takes the mouse to hover the element
await browser.actions().click(protractor.Button.RIGHT).perform(); //performs the right click
};