Skip to content

Commit

Permalink
fix: Fix test case for DateColumn_ISOFormat_AddNewRow_EditRow_spec
Browse files Browse the repository at this point in the history
The test case for DateColumn_ISOFormat_AddNewRow_EditRow_spec was failing due to unnecessary steps for verifying successful log. This commit updates the test case to remove the unnecessary steps and fix the issue.
  • Loading branch information
rahulbarwal committed Sep 6, 2024
1 parent 3842691 commit 73bbacc
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,6 @@ describe(
agHelper.GetText(locators._textWidget, "text").then(($text: any) => {
expect($text).to.eq(getYYYYMMDDForThisMonth("11"));
});

// check the same date in europe timezone(Issue: https://github.com/appsmithorg/appsmith/issues/25081)
agHelper.GetNClick(locators._textWidget);
propPane.UpdatePropertyFieldValue(
"Text",
`{{moment(Table1.newRow.date).tz("Europe/Amsterdam").format("YYYY-MM-DD")}}`,
);

agHelper.GetText(locators._textWidget, "text").then(($text: any) => {
expect($text).to.eq(getYYYYMMDDForThisMonth("11"));
});
});
},
);
Expand Down

0 comments on commit 73bbacc

Please sign in to comment.