Skip to content

Commit

Permalink
merge branch 1.1 - EZP-29124 - Behat Covering of content item fields
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tyrala committed Jun 13, 2018
1 parent 780f6e4 commit 7a721cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Behat/PageElement/DateAndTimePopup.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function setDate(DateTime $date, string $dateFormat = self::DATETIME_FORM
$this->switchToNextMonth();
}

$displayedDays = $this->context->findAllWithWait(sprintf('%s %s', $this->fields['openedCalendar'], $this->fields['pickerDaySelector']));
$displayedDays = $this->context->findAllElements(sprintf('%s %s', $this->fields['openedCalendar'], $this->fields['pickerDaySelector']));

foreach ($displayedDays as $day) {
$currentValue = DateTime::createFromFormat($dateFormat, $day->getAttribute($this->fields['pickerDayValue']));
Expand Down

0 comments on commit 7a721cd

Please sign in to comment.