mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5018] library actions protractor tests (#3545)
* [ACS-5018] library actions protractor tests * updating type and timeout * implementing reviews comments
This commit is contained in:
@@ -27,7 +27,6 @@ import { GenericDialog } from '../dialog/generic-dialog';
|
||||
import { isPresentAndEnabled } from '../../utilities/utils';
|
||||
|
||||
export class ConfirmDialog extends GenericDialog {
|
||||
okButton = this.childElement(by.buttonText('OK'));
|
||||
cancelButton = this.childElement(by.buttonText('Cancel'));
|
||||
keepButton = this.childElement(by.buttonText('Keep'));
|
||||
deleteButton = this.childElement(by.buttonText('Delete'));
|
||||
@@ -41,10 +40,6 @@ export class ConfirmDialog extends GenericDialog {
|
||||
return this.content.getText();
|
||||
}
|
||||
|
||||
async isOkEnabled(): Promise<boolean> {
|
||||
return isPresentAndEnabled(this.okButton);
|
||||
}
|
||||
|
||||
async isCancelEnabled(): Promise<boolean> {
|
||||
return isPresentAndEnabled(this.cancelButton);
|
||||
}
|
||||
|
@@ -38,8 +38,6 @@ export class Toolbar extends Component {
|
||||
downloadButton = element(By.css(`.mat-icon-button[title='Download']`));
|
||||
viewDetailsButton = element(By.css(`button[title='View Details']`));
|
||||
printButton = element(By.css(`button[title='Print']`));
|
||||
joinButton = element(By.css(`button[title='Join']`));
|
||||
leaveButton = element(By.css(`button[title='Leave Library']`));
|
||||
permanentlyDeleteButton = element(By.css(`button[title='Permanently Delete']`));
|
||||
restoreButton = element(By.css(`button[title='Restore']`));
|
||||
searchIconButton = element(By.css(`button[title='Search']`));
|
||||
|
Reference in New Issue
Block a user