Skip to content

Commit

Permalink
MDL-73730 calendar: more precise matching of calendar day partial.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Feb 2, 2022
1 parent c352b70 commit 85f2c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/tests/behat/behat_calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static function get_partial_named_selectors(): array {
return [
new behat_component_named_selector('mini calendar block', [".//*[@data-block='calendar_month']"]),
new behat_component_named_selector('full calendar page', [".//*[@id='page-calendar-view']"]),
new behat_component_named_selector('calendar day', [".//*[@data-day=%locator%]"]),
new behat_component_named_selector('calendar day', [".//*[@data-region='day'][@data-day=%locator%]"]),
];
}

Expand Down

0 comments on commit 85f2c04

Please sign in to comment.