add tests for Move content (#908)

This commit is contained in:
Adina Parpalita
2019-01-31 08:50:47 +02:00
committed by Cilibiu Bogdan
parent f20ffcb610
commit 5eaa5c1bc7
3 changed files with 717 additions and 5 deletions

View File

@@ -324,8 +324,8 @@ export class DataTable extends Component {
return await this.getRowByName(name).element(by.css(DataTable.selectors.libraryRole)).getText();
}
async isItemPresent(name: string) {
return await this.getRowByName(name).isPresent();
async isItemPresent(name: string, location? : string) {
return await this.getRowByName(name, location).isPresent();
}
async getEntireDataTableText() {