- remove some awaits

- add try catch
- small refactoring
This commit is contained in:
Adina Parpalita
2019-10-17 17:31:29 +03:00
parent 9fd47d3186
commit 227e05e3f9
39 changed files with 1243 additions and 905 deletions

View File

@@ -61,15 +61,15 @@ export class DateTimePicker extends Component {
}
async isCalendarOpen() {
return await browser.isElementPresent(by.css(DateTimePicker.selectors.root));
return browser.isElementPresent(by.css(DateTimePicker.selectors.root));
}
async getDate() {
return await this.headerDate.getText();
return this.headerDate.getText();
}
async getYear() {
return await this.headerYear.getText();
return this.headerYear.getText();
}
async setDefaultDay() {