mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3384] Create automated tests for Version Component (#3631)
* fix version component restore and delete event * version manager actions * fix test * fix unit test * remove fdescribe * fix tslint * fix screenshot rewrite problem * remove fdescribe * multi instance try * remove fdescribe * try uncomment some test * error page * fix user preferences pagiantion * search page test include * fix type tslint e2e * restore code * default lang momentadapter * fix test * [ADF-3384] removed console log from test * [ADF-3384] adding some fixes for tests and code * [ADF-3384] fixed some test and code
This commit is contained in:
committed by
Eugenio Romano
parent
17074478e2
commit
a12662e7e2
@@ -20,8 +20,8 @@ var Util = require('../../../util/util');
|
||||
|
||||
var UploadDialog = function () {
|
||||
|
||||
var closeButton = element.all((by.css("footer[class*='upload-dialog__actions'] button"))).first();
|
||||
var dialog = element.all(by.css("div[class*='upload-dialog']")).first();
|
||||
var closeButton = element((by.css('footer[class*="upload-dialog__actions"] button[id="adf-upload-dialog-close"]')));
|
||||
var dialog = element(by.css("div[id='upload-dialog']"));
|
||||
var minimizedDialog = element(by.css("div[class*='upload-dialog--minimized']"));
|
||||
var uploadedStatusIcon = by.css("mat-icon[class*='status--done']");
|
||||
var cancelledStatusIcon = by.css("div[class*='status--cancelled']");
|
||||
@@ -36,7 +36,7 @@ var UploadDialog = function () {
|
||||
var canUploadConfirmationDescription = element(by.css("p[class='upload-dialog__confirmation--text']"));
|
||||
var confirmationDialogNoButton = element(by.partialButtonText("No"));
|
||||
var confirmationDialogYesButton = element(by.partialButtonText("Yes"));
|
||||
var cancelUploads = element(by.partialButtonText("Cancel uploads"));
|
||||
var cancelUploads = element((by.css('footer[class*="upload-dialog__actions"] button[id="adf-upload-dialog-cancel-all"]')));
|
||||
|
||||
this.clickOnCloseButton = function () {
|
||||
this.checkCloseButtonIsDisplayed();
|
||||
|
Reference in New Issue
Block a user