mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-08 14:51:14 +00:00
- remove some awaits
- add try catch - small refactoring
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user