Skip to content

UI Update Alters Voting Power Test IDs for dRep, SPos, and CC #3287

@kneerose

Description

@kneerose

Context:

Due to a recent update on the UI of the outcomes details page, the previously used test IDs have been removed and replaced with new ones. The failure of test 9G is caused by the absence of the old test IDs, which were used to check the voting power.

The voting power test IDs previously used for dRep were:

  • submitted-votes-dReps-yes
  • submitted-votes-dReps-no
  • submitted-votes-dReps-notVoted
  • submitted-votes-dReps-abstain

Similarly, for SPos:

  • submitted-votes-sPos-yes
  • submitted-votes-sPos-no
  • submitted-votes-sPos-abstain

And for CC:

  • submitted-votes-ccCommittee-yes
  • submitted-votes-ccCommittee-no
  • submitted-votes-ccCommittee-abstain

These have now been updated to:

  • yes-percentage-text (the vote type for CC, SPos, or dRep is not properly defined yet).
    Additionally, the test ID for the voting power amount, such as "₳ 14.42M" in the example, should have a separate test ID, and the percentage "(43.89%)" should have a different test ID instead of one.

Image

Similarly, the test IDs for "no" voting power and their percentages

Additionally, the label for other voting power has been updated to include its label, so it would be beneficial to assign a separate test ID for voting power. For instance, total-controlled-amount could be used for the "₳ 32.85M" span instead of the

tag. Similarly, other voting powers should have a test ID added directly to the numerical value, rather than including the label.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions