Skip to content

Commit

Permalink
fix: locator for stakePage input()
Browse files Browse the repository at this point in the history
  • Loading branch information
itaven committed Oct 16, 2024
1 parent 2172813 commit c697d54
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/widgets/src/ethereum/ethereum.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,9 @@ export class EthereumPage implements WidgetPage {
.getByTestId('stakeCardSection')
.getByTestId('ethAvailableToStake'),
);
await this.page.fill(
'input[type=text]',
String(this.stakeConfig.stakeAmount),
);
await this.page
.getByTestId('stakeInput')
.fill(String(this.stakeConfig.stakeAmount));
await this.page.waitForSelector(
'button[data-testid="stakeSubmitBtn"]:not([disabled])',
{ timeout: 15000 },
Expand Down

0 comments on commit c697d54

Please sign in to comment.