mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[ACS-5857] reverted changes for updating form config in e2es
This commit is contained in:
@@ -42,8 +42,4 @@ export class FormDemoPage {
|
|||||||
await this.goToRenderedForm();
|
await this.goToRenderedForm();
|
||||||
await BrowserVisibility.waitUntilElementIsVisible(form);
|
await BrowserVisibility.waitUntilElementIsVisible(form);
|
||||||
}
|
}
|
||||||
|
|
||||||
async updateDateFormat(formJson: any): Promise<void> {
|
|
||||||
formJson.formRepresentation.formDefinition.fields[0].fields[1][0].dateDisplayFormat = 'yy-M-d';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -107,7 +107,6 @@ describe('Date widget', () => {
|
|||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
const urlFormDemoPage = `${browser.baseUrl}/form`;
|
const urlFormDemoPage = `${browser.baseUrl}/form`;
|
||||||
await BrowserActions.getUrl(urlFormDemoPage);
|
await BrowserActions.getUrl(urlFormDemoPage);
|
||||||
await formDemoPage.updateDateFormat(formJson);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('[C313199] Should display the validation for min and max date values with custom date format', async () => {
|
it('[C313199] Should display the validation for min and max date values with custom date format', async () => {
|
||||||
|
Reference in New Issue
Block a user