We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5882685 + aaf17ce commit e836ca9Copy full SHA for e836ca9
1 file changed
tests/Browser/Expectations/ToHaveTextTest.php
@@ -2,15 +2,15 @@
2
3
declare(strict_types=1);
4
5
-it('may have a title', function (): void {
+it('may have text', function (): void {
6
$page = page()->goto('/');
7
8
$locator = $page->locator('h3');
9
10
expect($locator)->toHaveText('Pest is a testing');
11
});
12
13
-it('may not have a title', function (): void {
+it('may not have text', function (): void {
14
15
16
0 commit comments