Skip to content

Commit

Permalink
fix: disabling to address section
Browse files Browse the repository at this point in the history
  • Loading branch information
VanessaPC committed Feb 21, 2024
1 parent 8c19039 commit 10eac91
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions packages/e2e-tests/src/assert/dAppConnectorAssert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,21 +319,21 @@ class DAppConnectorAssert {
// add from address address
// add from address address

await ConfirmTransactionPage.transactionToAddress.waitForDisplayed();
await ConfirmTransactionPage.transactionToAddressTitle.waitForDisplayed();
expect(
await ConfirmTransactionPage.transactionToAddressTitle
.getText()
.to.equal(await t('package.core.dappTransaction.toAddress', 'core'))
);
// await ConfirmTransactionPage.transactionToAddress.waitForDisplayed();
// await ConfirmTransactionPage.transactionToAddressTitle.waitForDisplayed();
// expect(
// await ConfirmTransactionPage.transactionToAddressTitle
// .getText()
// .to.equal(await t('package.core.dappTransaction.toAddress', 'core'))
// );

await ConfirmTransactionPage.transactionFromAddress.waitForDisplayed();
await ConfirmTransactionPage.transactionFromAddressTitle.waitForDisplayed();
expect(
await ConfirmTransactionPage.transactionFromAddressTitle
.getText()
.to.equal(await t('package.core.dappTransaction.fromAddress', 'core'))
);
// await ConfirmTransactionPage.transactionFromAddress.waitForDisplayed();
// await ConfirmTransactionPage.transactionFromAddressTitle.waitForDisplayed();
// expect(
// await ConfirmTransactionPage.transactionFromAddressTitle
// .getText()
// .to.equal(await t('package.core.dappTransaction.fromAddress', 'core'))
// );

await ConfirmTransactionPage.confirmButton.waitForDisplayed();
expect(await ConfirmTransactionPage.confirmButton.getText()).to.equal(await t('dapp.confirm.btn.confirm'));
Expand Down

0 comments on commit 10eac91

Please sign in to comment.