Skip to content

Commit

Permalink
fix: span element inside button causes test flakiness in extensio…
Browse files Browse the repository at this point in the history
…n repo e2e, interfering with the click and scroll actions (#2782)
  • Loading branch information
seaona authored Oct 2, 2024
1 parent 8ff9427 commit 24319a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/test-snaps/src/components/Connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ export const Connect: FunctionComponent<ConnectProps> = ({
{isLoading ? (
<ButtonSpinner>Connecting</ButtonSpinner>
) : (
<span>
{isInstalled ? 'Reconnect' : 'Connect'} to {name}
</span>
`${isInstalled ? 'Reconnect' : 'Connect'} to ${name}`
)}
</Button>
</Form>
Expand Down

0 comments on commit 24319a4

Please sign in to comment.