Skip to content

Commit 7780598

Browse files
committed
Prepare component ids for selenium tests
1 parent b190c66 commit 7780598

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ui/panel/Panel.re

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ let make_nav_pills = (current, dispatch) => {
1919
|> List.mapi((i, (v, n)) => {
2020
<li key={string_of_int(i)} className="nav-item">
2121
<a
22+
id={"nav-item-" ++ string_of_int(i)}
2223
href="#"
2324
className={"nav-link" ++ (current == Some(v) ? " active" : "")}
2425
onClick={on_click(`SwitchPanel(Some(v)))}>

src/ui/panel/ParameterView.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ let make = (~goblint_path, ~inputValue, ~setInputValue, ~disableRun, ~setDisable
335335

336336
let list_elements = history |> map_history_entry_to_list_entry;
337337

338-
<div>
338+
<div id="parameterview">
339339
<div className="input-group mb-2 has-validation">
340340
<Button disabled={disableRun} on_click={on_submit}>
341341
<IconPlay />

0 commit comments

Comments
 (0)