Creating Our First Browser Test
Let's create our first browser test.
Adding a test for the homepage
In the first real test that we will now create, a GET
request will be made to the homepage (/
) and it will be verified if the server returns the right page. We need several things for that:
- The PHP web server should already be running before we run the test. This will be taken care of
Get hands-on with 1400+ tech skills courses.