Skip to content

Commit e2019ed

Browse files
joeizangAniket-Engg
authored andcommitted
add data-ids to fix e2e
1 parent 880eebc commit e2019ed

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ export function ContractGUI(props: ContractGUIProps) {
323323

324324
setProxyAddress(address)
325325
}
326-
326+
console.log({dataId: buttonOptions.dataId})
327327
return (
328328
<div
329329
className={`udapp_contractProperty ${
@@ -351,7 +351,12 @@ export function ContractGUI(props: ContractGUIProps) {
351351
: buttonOptions.title
352352
}
353353
>
354-
<div className="d-flex" onClick={handleActionClick}>
354+
<div
355+
className="d-flex"
356+
onClick={handleActionClick}
357+
data-id={buttonOptions.dataId}
358+
data-title={buttonOptions.title}
359+
>
355360
<button
356361
className={`udapp_instanceButton text-nowrap overflow-hidden text-truncate ${props.widthClass} btn btn-sm ${buttonOptions.classList}`}
357362
data-id={buttonOptions.dataId}

0 commit comments

Comments
 (0)