diff --git a/calendar/tests/behat/calendar_utf8.feature b/calendar/tests/behat/calendar_utf8.feature new file mode 100644 index 00000000000..bcb8fe0cf15 --- /dev/null +++ b/calendar/tests/behat/calendar_utf8.feature @@ -0,0 +1,29 @@ +@core @core_calendar +Feature: Verify that the day and month names are displayed using UTF-8 + In order to be able to use the calendar using different languages + As a user + I need to see the day and month names displayed properly + + Background: + Given remote langimport tests are enabled + + Scenario Outline: View the calendar for December 2012 with correct UTF-8 + Given I log in as "admin" + And I navigate to "Language > Language packs" in site administration + And I set the field "Available language packs" to "" + And I press "Install selected language pack(s)" + And I should see "Language pack '' was successfully installed" + And I follow "Preferences" in the user menu + And I follow "Preferred language" + And I set the field "Preferred language" to "" + And I press "Save changes" + When I view the calendar for "12" "2022" + Then I should see "" + And I should see "" + + Examples: + | lang | month | day | + | en_ar | December | Sat | + | es | diciembre | Sáb | + | fr | décembre | Sa | + | ru | декабря | Сб |