Add HomePage
-
Add tests -
HTTP response code must be 200 for /
-
Content-Type
header istext/html; charset=UTF-8
-
/index.php
is a redirect to/
and HTTP response code must be301
-
optional tests: -
HTML page must contain one <html>
tag -
HTML page must contain one <head>
tag -
HTML page must contain one <body>
tag -
HTML page must contain one <h1>
tag -
HTML page must contain one <title>
tag -
DOM must match: html > head
-
DOM must match: html > body
-
DOM must match: html > head > title
-
DOM must match: html > body h1
-
-
-
Add controller method + view -
HomeIndexFile()
-
home()
-