Skip to content

Commit

Permalink
chore: update testId of receiving address and amount content
Browse files Browse the repository at this point in the history
  • Loading branch information
kneerose committed Dec 9, 2024
1 parent 6b5c09c commit dda5170
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ test.describe("Proposal created logged state", () => {
);
if (type === ProposalType.treasury) {
await expect(
page.getByTestId("receiving-address-content")
page.getByTestId("receiving-address-0-content")
).toHaveText(proposal.prop_receiving_address);
await expect(page.getByTestId("amount-content")).toHaveText(
await expect(page.getByTestId("amount-0-content")).toHaveText(
proposal.prop_amount
);
}
Expand Down Expand Up @@ -440,10 +440,10 @@ test.describe("Treasury Proposal Draft", () => {
await expect(page.getByTestId("rationale-content")).toHaveText(
proposalFormValue.prop_rationale
);
await expect(page.getByTestId("receiving-address-content")).toHaveText(
await expect(page.getByTestId("receiving-address-0-content")).toHaveText(
proposalFormValue.prop_receiving_address
);
await expect(page.getByTestId("amount-content")).toHaveText(
await expect(page.getByTestId("amount-0-content")).toHaveText(
proposalFormValue.prop_amount
);
await expect(page.getByTestId("link-0-text-content")).toHaveText(
Expand Down

0 comments on commit dda5170

Please sign in to comment.