Skip to content

Commit 4e937dd

Browse files
authored
Grammar: it's -> its
1 parent 4bcac02 commit 4e937dd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

general/development/tools/behat/writing.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,26 +134,26 @@ Most of the steps requires values, there are methods to provide values to steps,
134134
- optgroup - for searching optgroup by its label
135135
- option - for searching an option by its content
136136
- dialogue - for searching a dialogue with the specified header text
137-
- filemanager - for searching a filemanager by it's id or label
138-
- block - for searching a Moodle block by it's English name or it's frankenstyle name
139-
- section - for searching for a section on a course page by it's title or its written out date (e.g. "1 January - 7 January"). Use "frontpage" "section" for the frontpage section if it has no title (default)
140-
- activity - for searching for an activity module in a course list by it's title
137+
- filemanager - for searching a filemanager by its id or label
138+
- block - for searching a Moodle block by its English name or its frankenstyle name
139+
- section - for searching for a section on a course page by its title or its written out date (e.g. "1 January - 7 January"). Use "frontpage" "section" for the frontpage section if it has no title (default)
140+
- activity - for searching for an activity module in a course list by its title
141141
- region - for searching a Moodle page region with that id, in fact it works with all ids for <tt>div</tt>, <tt>section</tt>, <tt>aside</tt>, <tt>header</tt> or <tt>footer</tt> elements.
142142
- table_row - for searching a table row which contains the specified text
143143
- table - for searching a table by its id or caption
144144
- icon - for searching an icon by its title
145-
- fieldset - for searching a fieldset by it's id or legend
145+
- fieldset - for searching a fieldset by its id or legend
146146
- css_element - for searching an element by its CSS selector
147147
- xpath_element - for searching an element by its XPath
148148
- **A text selector** similar to a selector but those are the elements that returns an area of the DOM, they are useful in steps following the format **... in the "Community finder" "block"** where you are clicking or looking for some text inside a specific area. In the 'Acceptance testing' interface you can see a drop-down menu to select one of these options:
149149
- dialogue - for searching a dialogue with the specified header text
150-
- block - for searching a Moodle block by it's English name or it's frankenstyle name
151-
- section - for searching for a section on a course page by it's title or its written out date (e.g. "1 January - 7 January"). Use "frontpage" "section" for the frontpage section if it has no title (default)
152-
- activity - for searching for an activity module in a course list by it's title
150+
- block - for searching a Moodle block by its English name or its frankenstyle name
151+
- section - for searching for a section on a course page by its title or its written out date (e.g. "1 January - 7 January"). Use "frontpage" "section" for the frontpage section if it has no title (default)
152+
- activity - for searching for an activity module in a course list by its title
153153
- region - for searching a Moodle page region with that id, in fact it works with all ids for <tt>div</tt>, <tt>section</tt>, <tt>aside</tt>, <tt>header</tt> or <tt>footer</tt> elements.
154154
- table_row - for searching a table row which contains the specified text
155155
- table - for searching a table by its id or caption
156-
- fieldset - for searching a fieldset by it's id or legend
156+
- fieldset - for searching a fieldset by its id or legend
157157
- list_item - for searching a list item which contains the specified text
158158
- css_element - for searching an element by its CSS selector
159159
- xpath_element - for searching an element by its XPath
@@ -185,7 +185,7 @@ Note than some tests requires files to be uploaded, in this case
185185

186186
- The **I upload "FILEPATH_STRING" file to "FILEPICKER_FIELD_STRING" filepicker** step can be used when located in the form page
187187
- The file to upload should be included along with the Moodle codebase in `COMPONENTNAME/tests/fixtures/*`
188-
- The file to upload is specified by it's path, which should be relative to the codebase root (`lib/tests/fixtures/users.csv` for example)
188+
- The file to upload is specified by its path, which should be relative to the codebase root (`lib/tests/fixtures/users.csv` for example)
189189
- **/** should be used as directory separator and the file names can not include this **/** character as all of them would be converted to the OS-dependant directory separator to maintain the compatibility with Windows systems.
190190
- The scenarios that includes files uploading should be tagged using the **@_file_upload** tag
191191

0 commit comments

Comments
 (0)