Skip to content

Commit

Permalink
feature(14507): add e2e test for error banner
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDDDanica committed Dec 20, 2024
1 parent 1db7878 commit 9212499
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/e2e/tests/dapp-interactions/failing-contract.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ describe('Failing contract interaction ', function () {
css: '.activity-list-item .transaction-status-label',
text: 'Failed',
});
// inspect transaction details
await driver.clickElement({
css: '.activity-list-item .transaction-status-label',
text: 'Failed',
});
await driver.waitForSelector('.transaction-list-item-details');
await driver.waitForSelector(
'[data-testid="transaction-list-item-details-banner-error-message"]',
);
},
);
});
Expand Down

0 comments on commit 9212499

Please sign in to comment.