[ACS-5857] reverted changes for updating form config in e2es

This commit is contained in:
SheenaMalhotra182
2023-09-04 13:11:00 +05:30
parent 9178da67d7
commit 0e8af2754d
2 changed files with 0 additions and 5 deletions

View File

@@ -42,8 +42,4 @@ export class FormDemoPage {
await this.goToRenderedForm();
await BrowserVisibility.waitUntilElementIsVisible(form);
}
async updateDateFormat(formJson: any): Promise<void> {
formJson.formRepresentation.formDefinition.fields[0].fields[1][0].dateDisplayFormat = 'yy-M-d';
}
}

View File

@@ -107,7 +107,6 @@ describe('Date widget', () => {
beforeAll(async () => {
const urlFormDemoPage = `${browser.baseUrl}/form`;
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 () => {