Skip to content

Commit 4939c25

Browse files
Documentation - Fix Testing Feature - Fixed Code Sample for assertSee() method
Signed-off-by: Najdanovic Ivan <najdanovicivan@gmail.com>
1 parent 33bfeb5 commit 4939c25

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/testing/feature.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ a tag, as specified by type, class, or id::
243243
// Check that "Hello World" is on the page
244244
$this->assertSee('Hello World');
245245
// Check that "Hello World" is within an h1 tag
246-
$this->assertS('Hello World', 'h1');
246+
$this->assertSee('Hello World', 'h1');
247247
// Check that "Hello World" is within an element with the "notice" class
248-
$this->assertS('Hello World', '.notice');
248+
$this->assertSee('Hello World', '.notice');
249249
// Check that "Hello World" is within an element with id of "title"
250-
$this->assertS('Hellow World', '#title');
250+
$this->assertSee('Hellow World', '#title');
251251

252252

253253
**assertDontSee(string $search = null, string $element = null)**

0 commit comments

Comments
 (0)