Commit 2c31f584 authored by Stephane Glondu's avatar Stephane Glondu

Extend scenario 1: a voter tries to vote after election is closed

parent 1e65466e
Pipeline #63946 passed with stages
in 16 minutes and 48 seconds
......@@ -113,6 +113,4 @@ Verifications all along the process is done using command line tools `belenios-t
- For each available answer in the question, she checks that the total number of votes in favor of Answer X displayed in result page is the same as the sum of votes for Answer X in all votes of voters who voted that have been randomly generated in advance
- She checks that each ballot content corresponds to content that of this vote that has been randomly generated in advance
- Verify election consistency (using command line tool `belenios_tool verify`)
- One voter tries to revote and faces an error message "Your ballot for Test vote after close is rejected, because the election is closed." after authentication
......@@ -122,6 +122,11 @@ class BeleniosTestElectionScenario1(BeleniosElectionTestBase):
verify_election_consistency(self.election_id)
console_log("### Step complete: verify_election_consistency using `belenios_tool verify` (3)")
console_log("### Starting step: voter votes after the election is closed")
self.one_voter_revotes_after_the_election_is_closed()
console_log("### Step complete: voter votes after the election is closed")
if __name__ == "__main__":
random_seed = os.getenv('RANDOM_SEED', None)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment