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.
1 parent 9df67f6 commit 7c32ef7Copy full SHA for 7c32ef7
README.md
@@ -28,6 +28,23 @@ Provides Laravel-specific testing helpers and asserts.
28
29
2. That's it! Now you can use any of provided traits in your test classes.
30
31
+```php
32
+use Illuminated\Testing\Asserts\PageAsserts;
33
+
34
+class HomePageTest extends TestCase
35
+{
36
+ use PageAsserts;
37
38
+ /** @test */
39
+ public function it_shows_three_featured_products()
40
+ {
41
+ $this->visit('/');
42
43
+ $this->seeElementTimes('.featured-product', 3);
44
+ }
45
+}
46
+```
47
48
## Available helpers
49
50
> New helpers are always adding. Feel free to contribute.
0 commit comments