mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
added the rightclick method to DataTableComponentPage (#4948)
This commit is contained in:
committed by
Eugenio Romano
parent
c98687d6f0
commit
fc58f1a483
@@ -166,6 +166,12 @@ export class DataTableComponentPage {
|
||||
BrowserVisibility.waitUntilElementIsVisible(element(by.id('adf-context-menu-content')));
|
||||
}
|
||||
|
||||
rightClickOnRowByIndex(index: number) {
|
||||
const row = this.getRowByIndex(index);
|
||||
BrowserActions.rightClick(row);
|
||||
BrowserVisibility.waitUntilElementIsVisible(element(by.id('adf-context-menu-content')));
|
||||
}
|
||||
|
||||
getTooltip(columnName, columnValue) {
|
||||
return this.getCellElementByValue(columnName, columnValue).getAttribute('title');
|
||||
}
|
||||
|
Reference in New Issue
Block a user