���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home3/cpr76684/public_html/Aem/lib/tests/behat/datetime_any.feature
���ѧ٧ѧ�
@core @javascript @core_form Feature: Any day / month / year combination in date form elements works ok. In order to use date / datetime elements with Behat as a user Any day / month / year combination must work ok @javascript Scenario Outline: Verify that setting any date / datetime is possible with enabled fields Given the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | And the following "activity" exist: | activity | name | intro | course | idnumber | | assign | Assignment 01 | Assign activity to test some dates | C1 | assign01 | And I am on the "Assignment 01" "assign activity editing" page logged in as admin And I expand all fieldsets And I set the field "Due date" to "<initial_date>" And I set the field "Due date" to "<final_date>" When I press "Save and display" Then the activity date in "Assignment 01" should contain "Due:" And the activity date in "Assignment 01" should contain "<date_result>" Examples: | initial_date | final_date | date_result | case_explanation (times Australia/Perth) | | ##today## | ##tomorrow noon## | ##tomorrow noon##%A, %d %B %Y, %I:%M## | change of day, any day, back and forth | | ##tomorrow## | ##today noon## | ##today noon##%A, %d %B %Y, %I:%M## | | | 1617256800 | 1617170400 | Wednesday, 31 March 2021, 2:00 | change of month, back and forth | | 1617170400 | 1617256800 | Thursday, 1 April 2021, 2:00 | | | 1740808800 | 1709186400 | Thursday, 29 February 2024, 2:00 | change of month, leap year, back and forth | | 1709186400 | 1740808800 | Saturday, 1 March 2025, 2:00 | | | 1577858400 | 1577772000 | Tuesday, 31 December 2019, 2:00 | change of year, back and forth | | 1577772000 | 1577858400 | Wednesday, 1 January 2020, 2:00 | | @javascript Scenario Outline: Verify that setting any date / datetime is possible with disabled fields Given the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | And the following "activity" exist: | activity | name | intro | course | idnumber | | assign | Assignment 01 | Assign activity to test some dates | C1 | assign01 | And I am on the "Assignment 01" "assign activity editing" page logged in as admin And I expand all fieldsets And I set the field "Due date" to "<initial_date>" And I set the field "Due date" to "disabled" And I set the field "Due date" to "<final_date>" When I press "Save and display" Then the activity date in "Assignment 01" should contain "Due:" And the activity date in "Assignment 01" should contain "<date_result>" Examples: | initial_date | final_date | date_result | case_explanation (times Australia/Perth) | | ##today## | ##tomorrow noon## | ##tomorrow noon##%A, %d %B %Y, %I:%M## | change of day, any day, back and forth | | ##tomorrow## | ##today noon## | ##today noon##%A, %d %B %Y, %I:%M## | | | 1617256800 | 1617170400 | Wednesday, 31 March 2021, 2:00 | change of month, back and forth | | 1617170400 | 1617256800 | Thursday, 1 April 2021, 2:00 | | | 1740808800 | 1709186400 | Thursday, 29 February 2024, 2:00 | change of month, leap year, back and forth | | 1709186400 | 1740808800 | Saturday, 1 March 2025, 2:00 | | | 1577858400 | 1577772000 | Tuesday, 31 December 2019, 2:00 | change of year, back and forth | | 1577772000 | 1577858400 | Wednesday, 1 January 2020, 2:00 | |
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�