mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ADF-3481] Updated automated tests for attach form component (#3706)
This commit is contained in:
parent
1ec9f2e9c2
commit
d7e33a1ca4
@ -72,4 +72,8 @@ export class AttachFormPage {
|
||||
Util.waitUntilElementIsVisible(this.cancelButton);
|
||||
return this.cancelButton.click();
|
||||
}
|
||||
|
||||
checkAttachFormButtonIsDisabled() {
|
||||
return Util.waitUntilElementIsVisible(element(by.css('button[id="adf-no-form-attach-form-button"][disabled]')));
|
||||
}
|
||||
}
|
||||
|
@ -118,6 +118,7 @@ describe('Attach Form Component', () => {
|
||||
attachFormPage.checkDefaultFormTitleIsDisplayed(testNames.formTitle);
|
||||
attachFormPage.checkFormDropdownIsDisplayed();
|
||||
attachFormPage.checkCancelButtonIsDisplayed();
|
||||
attachFormPage.checkAttachFormButtonIsDisabled();
|
||||
attachFormPage.clickAttachFormDropdown();
|
||||
attachFormPage.selectAttachFormOption(testNames.formName);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user