Automated Website Testing

From Littledamien Wiki
Revision as of 18:44, 6 May 2022 by Video8 (talk | contribs)
Jump to navigation Jump to search

Running tests on localhost

If .htaccess forces https redirects, make sure to make exceptions for host.docker.internal and the web app's Docker container.

If .htaccess defines authorization rules, make sure there are exceptions for requests coming from containers within the local Docker network.

AuthType Basic
AuthName "Restricted area"
AuthUserFile "/path/to/passwd"
require ip 172.16.0.0/255.240.0.0
require ip 192.168
require valid-user

See bfhweb-tests and Selenium browser drivers.

Notes

See also