From 785e0d0923411a49ce830e007fa2e597968991ef Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Mon, 21 Aug 2023 12:03:55 +0200 Subject: [PATCH] [FLASK] Fix regression in transaction confirmation tabs (#20267) * Fix regression in transaction confirmation tabs * Fix transaction insights e2e test --- test/e2e/snaps/test-snap-txinsights.spec.js | 5 +++++ .../confirm-page-container-content.component.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/test/e2e/snaps/test-snap-txinsights.spec.js b/test/e2e/snaps/test-snap-txinsights.spec.js index 4130abb50..637dab89e 100644 --- a/test/e2e/snaps/test-snap-txinsights.spec.js +++ b/test/e2e/snaps/test-snap-txinsights.spec.js @@ -102,6 +102,11 @@ describe('Test Snap TxInsights', function () { 'MetaMask Notification', windowHandles, ); + await driver.delay(1000); + await driver.clickElement({ + text: 'Insights Example Snap', + tag: 'button', + }); // check that txinsightstest tab contains the right info await driver.delay(1000); diff --git a/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-content.component.js b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-content.component.js index 4630cc5f9..f881c9029 100644 --- a/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-content.component.js +++ b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-content.component.js @@ -120,7 +120,7 @@ export default class ConfirmPageContainerContent extends Component { } = this.props; return ( - +