[ACA-1964] add tests for search results based on search input selection (#814)

* add tests for search results based on search input selection

* add one more test
This commit is contained in:
Adina Parpalita
2018-11-20 21:24:27 +02:00
committed by Denys Vuika
parent 26b4b0684f
commit 94f2762940
6 changed files with 215 additions and 8 deletions

View File

@@ -76,11 +76,11 @@ export class DataTable extends Component {
// Wait methods (waits for elements)
waitForHeader() {
try {
return browser.wait(EC.presenceOf(this.head), BROWSER_WAIT_TIMEOUT);
} catch (error) {
console.log('----- wait for header catch : ', error);
}
return browser.wait(EC.presenceOf(this.head), BROWSER_WAIT_TIMEOUT, '--- timeout waitForHeader ---');
}
waitForBody() {
return browser.wait(EC.presenceOf(this.body), BROWSER_WAIT_TIMEOUT, '--- timeout waitForBody ---');
}
async waitForEmptyState() {