Skip to content

Commit

Permalink
So many flavors...
Browse files Browse the repository at this point in the history
  • Loading branch information
jepsar committed Mar 18, 2024
1 parent 869d12e commit 2b62ee3
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ void lazyMetaDataCloseBehaviour3(Page page) {
private void testDatePickerPart1(DatePicker datePicker, Page page, DatePickerBehaviour behaviour) {
// Assert initial state
Messages messages = page.messages;
assertEmptyMessages(messages);
if (!datePicker.isLazy() || behaviour != DatePickerBehaviour.viewChange) {
assertEmptyMessages(messages);
}

// Act - 1st show panel
datePicker.showPanel();
Expand Down Expand Up @@ -427,7 +429,9 @@ private void testDatePickerPart2(DatePicker datePicker, Page page, DatePickerBeh
private void testDatePickerPart3(DatePicker datePicker, Page page, DatePickerBehaviour behaviour) {
// Assert initial state
Messages messages = page.messages;
assertEmptyMessages(messages);
if (!datePicker.isLazy() || behaviour != DatePickerBehaviour.viewChange) {
assertEmptyMessages(messages);
}

// Act - 1st show panel
datePicker.showPanel();
Expand Down

0 comments on commit 2b62ee3

Please sign in to comment.