mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
disable w3c due getValue problem (#7067)
* [ci:force]disable w3c due getValue problem * unify get Input value * [ci:force]fix * [ci:force] remove * [ci:force]remove all getAttribute * fix lint * fix lint * fix * fix * fix * fix * different fix try * rewrite wait for for value * fix lint * remove e2e already covered by unit * fix lint * fix
This commit is contained in:
@@ -154,7 +154,7 @@ describe('Edit folder directive', () => {
|
||||
|
||||
await editFolderDialog.addFolderName('a*"<>\\/?:|');
|
||||
await expect(await editFolderDialog.getValidationMessage()).toBe('Folder name can\'t contain these characters * " < > \\ / ? : |');
|
||||
await editFolderDialog.checkCreateUpdateBtnIsDisabled();
|
||||
await expect(await editFolderDialog.checkCreateUpdateBtnIsEnabled()).toEqual(false);
|
||||
|
||||
await editFolderDialog.addFolderName('a.a');
|
||||
await editFolderDialog.checkValidationMessageIsNotDisplayed();
|
||||
@@ -162,11 +162,11 @@ describe('Edit folder directive', () => {
|
||||
|
||||
await editFolderDialog.addFolderName('a.');
|
||||
await expect(await editFolderDialog.getValidationMessage()).toBe('Folder name can\'t end with a period .');
|
||||
await editFolderDialog.checkCreateUpdateBtnIsDisabled();
|
||||
await expect(await editFolderDialog.checkCreateUpdateBtnIsEnabled()).toEqual(false);
|
||||
|
||||
await BrowserActions.clearSendKeys(editFolderDialog.getFolderNameField(), protractor.Key.SPACE);
|
||||
await expect(await editFolderDialog.getValidationMessage()).toBe('Folder name can\'t contain only spaces');
|
||||
await editFolderDialog.checkCreateUpdateBtnIsDisabled();
|
||||
await expect(await editFolderDialog.checkCreateUpdateBtnIsEnabled()).toEqual(false);
|
||||
|
||||
await editFolderDialog.addFolderName(editFolder.entry.name);
|
||||
await editFolderDialog.addFolderDescription('a*"<>\\/?:|');
|
||||
|
Reference in New Issue
Block a user