mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4390]Added copyContent datatable cell tests (#4614)
* Modified data-table page on demo-shell to make copyClipboard possible to test * Add a new page in demo-shell. Add copyContent automated tests.
This commit is contained in:
committed by
Eugenio Romano
parent
550c0006c9
commit
bcdfcee397
@@ -27,6 +27,7 @@ export class NavigationBarPage {
|
||||
contentServicesButton = element(by.css('a[data-automation-id="Content Services"]'));
|
||||
dataTableButton = element(by.css('a[data-automation-id="Datatable"]'));
|
||||
dataTableNestedButton = element(by.css('button[data-automation-id="Datatable"]'));
|
||||
dataTableCopyContentButton = element(by.css('button[data-automation-id="Copy Content"]'));
|
||||
taskListButton = element(by.css("a[data-automation-id='Task List']"));
|
||||
configEditorButton = element(by.css('a[data-automation-id="Configuration Editor"]'));
|
||||
processServicesButton = element(by.css('a[data-automation-id="Process Services"]'));
|
||||
@@ -59,6 +60,13 @@ export class NavigationBarPage {
|
||||
this.dataTableNestedButton.click();
|
||||
}
|
||||
|
||||
navigateToCopyContentDatatable() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.dataTableButton);
|
||||
this.dataTableButton.click();
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.dataTableCopyContentButton);
|
||||
this.dataTableCopyContentButton.click();
|
||||
}
|
||||
|
||||
clickContentServicesButton() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.contentServicesButton);
|
||||
this.contentServicesButton.click();
|
||||
|
Reference in New Issue
Block a user