mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-3333] Test for Viewer - Part 3 (#3927)
* [ADF-3333] Test for Viewer - Part 3 * Fixing failing test * remove async not necessary * fix lint
This commit is contained in:
committed by
Eugenio Romano
parent
94905d1065
commit
cc7b9230ee
@@ -119,7 +119,6 @@ export class ShareDialog {
|
||||
setDefaultDay() {
|
||||
const selector = '.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content';
|
||||
Util.waitUntilElementIsVisible(this.dayPicker);
|
||||
const tomorrow = moment().add(1, 'day').date();
|
||||
let tomorrow = new Date(new Date().getTime() + 24 * 60 * 60 * 1000).getDate().toString();
|
||||
this.dayPicker.element(by.cssContainingText(selector, tomorrow)).click();
|
||||
}
|
||||
|
Reference in New Issue
Block a user