Skip to content

Commit e836ca9

Browse files
authored
Merge pull request #97 from laserhybiz/patch-1
Update ToHaveTextTest.php
2 parents 5882685 + aaf17ce commit e836ca9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Browser/Expectations/ToHaveTextTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
declare(strict_types=1);
44

5-
it('may have a title', function (): void {
5+
it('may have text', function (): void {
66
$page = page()->goto('/');
77

88
$locator = $page->locator('h3');
99

1010
expect($locator)->toHaveText('Pest is a testing');
1111
});
1212

13-
it('may not have a title', function (): void {
13+
it('may not have text', function (): void {
1414
$page = page()->goto('/');
1515

1616
$locator = $page->locator('h3');

0 commit comments

Comments
 (0)