[ADF-4716] Dynamic Table not working properly (regression) (#4896)

* [ADF-4716] Dynamic Table not working properly (regression)
[ADF-4722] Wrong date is displayed when updating row of dynamic table
* removing dynamic table date added

* * fix e2e
This commit is contained in:
dhrn
2019-07-09 16:10:27 +05:30
committed by Eugenio Romano
parent 080eef891b
commit cdc39759ca
5 changed files with 101 additions and 31 deletions

View File

@@ -67,9 +67,10 @@ describe('Dynamic Table', () => {
const app = resources.Files.DYNAMIC_TABLE_APP;
const randomText = {
date: 'HELLO WORLD',
date: '12/12/2012',
wrongDate: 'HELLO WORLD',
dateTime: 'Test',
error: `Field 'columnDate' is required.`
error: `Invalid 'columnDate' format.`
};
const rowPosition = 0;
@@ -111,7 +112,7 @@ describe('Dynamic Table', () => {
it('[C286279] Should be able to save row with Date field', () => {
widget.dynamicTable().clickAddButton();
widget.dynamicTable().addRandomStringOnDate(randomText.date);
widget.dynamicTable().addRandomStringOnDate(randomText.wrongDate);
widget.dynamicTable().clickSaveButton();
expect(widget.dynamicTable().checkErrorMessage()).toBe(randomText.error);