diff --git a/tests/Feature/Http/Controllers/User/CatalogPageTest.php b/tests/Feature/Http/Controllers/User/CatalogPageTest.php index 8d56eea2..2f13280f 100644 --- a/tests/Feature/Http/Controllers/User/CatalogPageTest.php +++ b/tests/Feature/Http/Controllers/User/CatalogPageTest.php @@ -14,7 +14,7 @@ class CatalogPageTest extends TestCase public function seeBasicItem() { $this->get('/catalog') - ->assertSee('Categories') - ->assertSee('Price'); + ->assertSeeText('Categories') + ->assertSeeText('Price'); } } diff --git a/tests/Feature/Http/Controllers/User/ShopTest.php b/tests/Feature/Http/Controllers/User/ShopTest.php index 6d8af224..9bf9e773 100644 --- a/tests/Feature/Http/Controllers/User/ShopTest.php +++ b/tests/Feature/Http/Controllers/User/ShopTest.php @@ -14,7 +14,7 @@ class ShopTest extends TestCase public function seeBasicTitle() { $this->get('/') - ->assertSee('Categories') - ->assertSee('Just For You'); + ->assertSeeText('Categories') + ->assertSeeText('Just For You'); } }