Skip to content

Commit

Permalink
chore: update tesId of receiving address and amout input/error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kneerose committed Dec 9, 2024
1 parent 390a14b commit a634b63
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const formErrors = {
abstract: "abstract-helper-error",
motivation: "motivation-helper-error",
rationale: "rationale-helper-error",
receivingAddress: "receiving-address-text-error",
amount: "amount-text-error",
receivingAddress: "receiving-address-0-text-error",
amount: "amount-0-text-error",
link: "link-0-url-input-error",
};

Expand All @@ -39,6 +39,9 @@ export default class ProposalSubmissionPage {

readonly continueBtn = this.page.getByTestId("continue-button");
readonly addLinkBtn = this.page.getByTestId("add-link-button");
readonly addWithdrawalAddressBtn = this.page.getByTestId(
"add-withdrawal-link-button"
);
readonly infoBtn = this.page.getByTestId("info-button");
readonly treasuryBtn = this.page.getByTestId("treasury-button");
readonly editSubmissionButton = this.page.getByTestId(
Expand All @@ -61,9 +64,9 @@ export default class ProposalSubmissionPage {
readonly motivationInput = this.page.getByTestId("motivation-input");
readonly rationaleInput = this.page.getByTestId("rationale-input");
readonly receivingAddressInput = this.page.getByTestId(
"receiving-address-input"
"receiving-address-0-text-input"
);
readonly amountInput = this.page.getByTestId("amount-input");
readonly amountInput = this.page.getByTestId("amount-0-text-input");
readonly closeDraftSuccessModalBtn = this.page.getByTestId("close-button");

constructor(private readonly page: Page) {}
Expand Down

0 comments on commit a634b63

Please sign in to comment.