Skip to content

Commit 24319a4

Browse files
authored
fix: span element inside button causes test flakiness in extension repo e2e, interfering with the click and scroll actions (#2782)
1 parent 8ff9427 commit 24319a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/test-snaps/src/components/Connect.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ export const Connect: FunctionComponent<ConnectProps> = ({
6262
{isLoading ? (
6363
<ButtonSpinner>Connecting</ButtonSpinner>
6464
) : (
65-
<span>
66-
{isInstalled ? 'Reconnect' : 'Connect'} to {name}
67-
</span>
65+
`${isInstalled ? 'Reconnect' : 'Connect'} to ${name}`
6866
)}
6967
</Button>
7068
</Form>

0 commit comments

Comments
 (0)