File tree Expand file tree Collapse file tree
user_guide_src/source/testing/response Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22
3- // Check that "Hello World" is on the page
3+ // Verify that "Hello World" is on the page
44$ result ->assertSee ('Hello World ' );
5- // Check that "Hello World" is within an h1 tag
5+
6+ // Verify that "Hello World" is within an h1 tag
67$ result ->assertSee ('Hello World ' , 'h1 ' );
7- // Check that "Hello World" is within an element with the "notice" class
8+
9+ // Verify that "Hello World" is within an element with the "notice" class
810$ result ->assertSee ('Hello World ' , '.notice ' );
9- // Check that "Hello World" is within an element with id of "title"
11+
12+ // Verify that "Hello World" is within an element with id of "title"
1013$ result ->assertSee ('Hello World ' , '#title ' );
Original file line number Diff line number Diff line change 11<?php
22
3- // Check that an input exists named 'user' with the value 'John Snow'
3+ // Verify that an input exists named 'user' with the value 'John Snow'
44$ results ->assertSeeInField ('user ' , 'John Snow ' );
5- // Check a multi-dimensional input
5+
6+ // Verify a multi-dimensional input
67$ results ->assertSeeInField ('user[name] ' , 'John Snow ' );
You can’t perform that action at this time.
0 commit comments