File tree 2 files changed +14
-4
lines changed
java/server/test/org/openqa/selenium/grid/router
javascript/grid-ui/src/components/RunningSessions
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ java_selenium_test_suite(
38
38
browsers = [
39
39
"chrome" ,
40
40
"firefox" ,
41
+ "edge" ,
41
42
],
42
43
javacopts = [
43
44
"--release" ,
Original file line number Diff line number Diff line change @@ -266,6 +266,18 @@ export default function RunningSessions(props) {
266
266
267
267
const emptyRows = rowsPerPage - Math . min ( rowsPerPage , rows . length - page * rowsPerPage ) ;
268
268
269
+ const displaySessionInfo = ( id : string ) => {
270
+ const handleInfoIconClick = ( ) => {
271
+ handleDialogOpen ( id ) ;
272
+ }
273
+ return (
274
+ < IconButton className = { classes . buttonMargin }
275
+ onClick = { handleInfoIconClick } >
276
+ < InfoIcon />
277
+ </ IconButton >
278
+ ) ;
279
+ }
280
+
269
281
return (
270
282
< div className = { classes . root } >
271
283
{ rows . length > 0 && (
@@ -316,10 +328,7 @@ export default function RunningSessions(props) {
316
328
alt = "Browser Logo"
317
329
/>
318
330
{ browserVersion ( row . browserVersion as string ) }
319
- < IconButton className = { classes . buttonMargin }
320
- onClick = { ( ) => handleDialogOpen ( row . id as string ) } >
321
- < InfoIcon />
322
- </ IconButton >
331
+ { displaySessionInfo ( row . id as string ) }
323
332
< Dialog onClose = { handleDialogClose } aria-labelledby = "session-info-dialog"
324
333
open = { rowOpen === row . id } >
325
334
< DialogTitle id = "session-info-dialog" >
You can’t perform that action at this time.
0 commit comments