Doichain dApp is able to display a screenshot of the website which was posted to a webserver script (e.g. php). This script is usually communicating with the Doichain-dApp and transfers the screenshot into the optinal-data section (into JSON). Then a screenshot can be displayed in Doichain - dApp.
In order to test this properly we need to start another docker container in docker-compose. E.g. a simple php-server which serves a simple form.html and posts it to a usual doichain.php script.
A Selenium Test must be written which fills out a form.html and checks inside Doichain dApp if DOI includes a visible screenshot of the form.
Documentation (README) must be updated and should describe how to implement such a scenario.
Doichain dApp is able to display a screenshot of the website which was posted to a webserver script (e.g. php). This script is usually communicating with the Doichain-dApp and transfers the screenshot into the optinal-data section (into JSON). Then a screenshot can be displayed in Doichain - dApp.
In order to test this properly we need to start another docker container in docker-compose. E.g. a simple php-server which serves a simple form.html and posts it to a usual doichain.php script.
A Selenium Test must be written which fills out a form.html and checks inside Doichain dApp if DOI includes a visible screenshot of the form.
Documentation (README) must be updated and should describe how to implement such a scenario.