mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
e2e tests for favourite directive (#4912)
* in progress - favourite directive e2e tests * in progress - favourite directive e2e tests * favourite directive e2e tests * update testcase name * updated test case names * remove unnecessary line spaces * refactored favourites to favorites
This commit is contained in:
committed by
Eugenio Romano
parent
bbe22fd2a7
commit
fadcc19eba
@@ -67,10 +67,19 @@ export class CustomSources {
|
||||
BrowserActions.click(this.getSourceType(source.mySites));
|
||||
}
|
||||
|
||||
selectFavoritesSourceType() {
|
||||
this.clickOnSourceType();
|
||||
BrowserActions.click(this.getSourceType(source.favorites));
|
||||
}
|
||||
|
||||
checkRowIsDisplayed(rowName) {
|
||||
return this.dataTable.checkContentIsDisplayed('Name', rowName);
|
||||
}
|
||||
|
||||
checkRowIsNotDisplayed(rowName) {
|
||||
return this.dataTable.checkContentIsNotDisplayed('Name', rowName);
|
||||
}
|
||||
|
||||
getStatusCell(rowName) {
|
||||
const cell = this.dataTable.getCellByRowContentAndColumn('Name', rowName, column.status);
|
||||
return BrowserActions.getText(cell);
|
||||
|
Reference in New Issue
Block a user