X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/behat/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
behat
/
tests
/
behat
/
📁
..
📄
data_generators.feature
(18.71 KB)
📄
datetime_strings.feature
(1.08 KB)
📄
edit_permissions.feature
(4.73 KB)
📁
fixtures
📄
get_and_set_fields.feature
(10.72 KB)
📄
get_and_set_fields_in_containers.feature
(1.5 KB)
📄
i_am_on_page.feature
(5.21 KB)
📄
inplaceeditable.feature
(1.29 KB)
📄
keyboard.feature
(1.93 KB)
📄
list_steps.feature
(1.88 KB)
📄
loginout.feature
(4.4 KB)
📄
manipulate_forms.feature
(1.2 KB)
📄
nasty_strings.feature
(2.4 KB)
📄
test_environment.feature
(304 B)
Editing: datetime_strings.feature
@tool @tool_behat Feature: Transform date time string arguments In order to write tests with relative date and time As a user I need to apply some transformations to the steps arguments Scenario: Set date in table and check date with specific format Given I am on site homepage And the following "users" exist: | username | firstname | lastname | | teacher1 | Teacher | 1 | And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "activities" exist: | activity | course | idnumber | name | intro | duedate | | assign | C1 | assign1 | Test assignment name | Test assignment description | ##yesterday## | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | And I log in as "teacher1" And I am on "Course 1" course homepage And I follow "Test assignment name" And I should see "##yesterday##%d %B %Y##" And I log out
Upload File
Create Folder