File tree Expand file tree Collapse file tree
user_guide_src/source/testing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ The response you get back contains a number of helper methods to inspect the HTM
143143are useful for using within assertions in your tests.
144144
145145The **see() ** method checks the text on the page to see if it exists either by itself, or more specifically within
146+ see()
147+ -----
148+
146149a tag, as specified by type, class, or id:
147150
148151.. literalinclude :: response/018.php
@@ -152,19 +155,31 @@ The **dontSee()** method is the exact opposite:
152155.. literalinclude :: response/019.php
153156
154157The **seeElement() ** and **dontSeeElement() ** are very similar to the previous methods, but do not look at the
158+ seeElement()
159+ ------------
160+
155161values of the elements. Instead, they simply check that the elements exist on the page:
156162
157163.. literalinclude :: response/020.php
158164
159165You can use **seeLink() ** to ensure that a link appears on the page with the specified text:
166+ seeLink()
167+ ---------
168+
160169
161170.. literalinclude :: response/021.php
162171
163172The **seeInField() ** method checks for any input tags exist with the name and value:
173+ seeInField()
174+ ------------
175+
164176
165177.. literalinclude :: response/022.php
166178
167179Finally, you can check if a checkbox exists and is checked with the **seeCheckboxIsChecked() ** method:
180+ seeCheckboxIsChecked()
181+ ----------------------
182+
168183
169184.. literalinclude :: response/023.php
170185
You can’t perform that action at this time.
0 commit comments