File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ export const Runbar = (props: {
71
71
< button
72
72
className = "flex-0"
73
73
disabled = { props . disabled }
74
+ data-testid = "runbar-frame"
74
75
onClick = { ( ) => runner . actions . frame ( ) }
75
76
data-tooltip = { props . overrideTooltips ?. step ?? `Step` }
76
77
data-placement = "bottom"
@@ -87,6 +88,7 @@ export const Runbar = (props: {
87
88
? runner . actions . stop ( )
88
89
: runner . actions . start ( )
89
90
}
91
+ data-testid = "runbar-run-pause"
90
92
data-tooltip = {
91
93
runner . state . running
92
94
? props . overrideTooltips ?. pause ?? `Pause`
@@ -105,6 +107,7 @@ export const Runbar = (props: {
105
107
}
106
108
runner . actions . reset ( ) ;
107
109
} }
110
+ data-testid = "runbar-reset"
108
111
data-tooltip = { props . overrideTooltips ?. reset ?? `Reset` }
109
112
data-placement = "bottom"
110
113
>
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ test.describe("chip", () => {
29
29
await monaco . write ( NOT , "hdl" ) ;
30
30
await expect ( page . getByText ( "HDL code: No syntax errors" ) ) . toBeVisible ( ) ;
31
31
32
- await page . getByRole ( "button" , { name : "Run ️⏩" } ) . click ( ) ;
32
+ await page . getByTestId ( "runbar-run-pause" ) . click ( ) ;
33
33
await expect (
34
34
page . getByText (
35
35
"Simulation successful: The output file is identical to the compare file" ,
You can’t perform that action at this time.
0 commit comments