Implement a function for administrators whereby they can test the overall working of the platform. This will be implemented by automatically launching the full process of an election: registering the election ,creation of the keys, uploading the census, opening the voting period, casting a vote, closing the voting period, tallying, obtaining the results and publishing them.
Tasks:
Add a config.agora_gui.enable_self_testing config.yml option and corresponding options in agora-gui-* avConfig.js files.
agora-dev-box: Install all the dependencies and add a supervisor daemon to be launched if enabled.
Create an e2e testing suite in agora-gui-admin using protractor to test the whole process of an election.
Create an authapi_celery task to launch the protractor test outputting the results in a new data model that will save it in the Database and show it in the logs of an election.
Add the launch of this automated test to the process of release in the release-howto documentation and also in the drill plan and action protocol.
Implement a function for administrators whereby they can test the overall working of the platform. This will be implemented by automatically launching the full process of an election: registering the election ,creation of the keys, uploading the census, opening the voting period, casting a vote, closing the voting period, tallying, obtaining the results and publishing them.
Tasks:
config.agora_gui.enable_self_testing
config.yml option and corresponding options in agora-gui-*avConfig.js
files.agora-gui-admin
using protractor to test the whole process of an election.authapi_celery
task to launch the protractor test outputting the results in a new data model that will save it in the Database and show it in the logs of an election.