Skip to content

Commit

Permalink
validate explorer votestatuses too in e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Nov 24, 2020
1 parent 7b52084 commit 63377f3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions testing/jormungandr-integration-tests/src/jormungandr/vit/mod.rs
Expand Up @@ -454,4 +454,21 @@ pub fn jcli_e2e_flow() {
.votes_cast,
3
);

assert_eq!(
jormungandr
.explorer()
.vote_plans(1)
.unwrap()
.data
.unwrap()
.all_vote_plans
.edges[0]
.node
.proposals[0]
.votes
.edges
.len(),
3
);
}

0 comments on commit 63377f3

Please sign in to comment.