From 24319a48d72cbab9344198fa66b6887f4a8a6e07 Mon Sep 17 00:00:00 2001 From: seaona <54408225+seaona@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:12:04 +0200 Subject: [PATCH] fix: `span` element inside `button` causes test flakiness in extension repo e2e, interfering with the click and scroll actions (#2782) --- packages/test-snaps/src/components/Connect.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/test-snaps/src/components/Connect.tsx b/packages/test-snaps/src/components/Connect.tsx index 1a80cdbb5e..e3b9299304 100644 --- a/packages/test-snaps/src/components/Connect.tsx +++ b/packages/test-snaps/src/components/Connect.tsx @@ -62,9 +62,7 @@ export const Connect: FunctionComponent = ({ {isLoading ? ( Connecting ) : ( - - {isInstalled ? 'Reconnect' : 'Connect'} to {name} - + `${isInstalled ? 'Reconnect' : 'Connect'} to ${name}` )}