Skip to content

Commit

Permalink
Merge pull request #12 from sireto/bugfix/proposal-test
Browse files Browse the repository at this point in the history
hotfix: use getByText on receiving address and amount input field
  • Loading branch information
kneerose authored Dec 5, 2024
2 parents 5718d7e + 0a16bf5 commit 8dd14ec
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ export default class ProposalSubmissionPage {
readonly metadataUrlInput = this.page.getByTestId("url-input");
readonly motivationInput = this.page.getByTestId("motivation-input");
readonly rationaleInput = this.page.getByTestId("rationale-input");
readonly receivingAddressInput = this.page.getByTestId(
"receiving-address-input"
);
readonly amountInput = this.page.getByTestId("amount-input");
readonly receivingAddressInput = this.page.getByText('Receiving stake address 1 *').first(); //BUG Incorrect testId
readonly amountInput = this.page.getByText('Amount 1 *').first(); //BUG Incorrect testId
readonly closeDraftSuccessModalBtn = this.page.getByTestId("close-button");

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

0 comments on commit 8dd14ec

Please sign in to comment.