Doichain / dapp

Doichan dApp - a Meteor.js implementation of the "Doichain Atomic Double-Opt-In" Protocol
https://www.doichain.org
MIT License
6 stars 6 forks source link

Screenshot test #79

Open silkroadnomad opened 5 years ago

silkroadnomad commented 5 years ago

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.