[ACS-5857] removed unused variables and fixed date format in e2es

This commit is contained in:
SheenaMalhotra182
2023-09-20 15:47:19 +05:30
parent 7f63cd82cf
commit 4b9a625e26
3 changed files with 4 additions and 6 deletions
@@ -39,9 +39,9 @@ describe('Form Component', () => {
const message = {
test: 'Text Test',
warningNumberAndAmount: 'Use a different number format',
warningDate: 'D-M-YYYY',
warningDate: 'd-M-yyyy',
errorLogNumber: 'Error Label4 Use a different number format',
errorLogDate: 'Error Label7 D-M-YYYY',
errorLogDate: 'Error Label7 d-M-yyyy',
errorLogAmount: 'Error Label11 Use a different number format',
errorLabel: 'Error Label4'
};
+2 -2
View File
@@ -93,7 +93,7 @@ export const customDateFormAPS1 = `{
"existingColspan": 1,
"maxColspan": 2
},
"dateDisplayFormat": "YY-M-D",
"dateDisplayFormat": "yy-M-d",
"layout": {
"row": -1,
"column": -1,
@@ -157,7 +157,7 @@ export const customDateFormAPS2 = `{
"existingColspan":1,
"maxColspan":2
},
"dateDisplayFormat":"YY-M-D"
"dateDisplayFormat":"yy-M-d"
}
],
"2":[
@@ -52,8 +52,6 @@ export class DateCloudWidgetComponent extends WidgetComponent implements OnInit,
minDate: string;
maxDate: string;
DATE_FORMAT = 'd-M-yyyy';
private onDestroy$ = new Subject<boolean>();
constructor(public formService: FormService,