File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
core/src/main/resources/lib/layout Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ THE SOFTWARE.
103103 </j : when >
104104 </j : choose >
105105
106- <l : overflowButton >
106+ <l : overflowButton id = " more-item-actions " >
107107 <dd : custom >
108108 <div class =" app-build-overflow" >
109109 <j : set var =" mode" value =" side-panel" />
Original file line number Diff line number Diff line change @@ -44,13 +44,17 @@ THE SOFTWARE.
4444 <st : attribute name =" id" >
4545 Optional ID for the button
4646 </st : attribute >
47+ <st : attribute name =" testid" >
48+ Optional test id for the button. Will be rendered as `data-testid`. Defaults to id if provided or empty.
49+ </st : attribute >
4750
4851 Displays a button which when clicked displays a dropdown of the component's children
4952 </st : documentation >
5053
5154 <button class =" jenkins-button ${attrs.clazz}"
5255 tooltip =" ${attrs.containsKey('tooltip') ? attrs.tooltip : '%More actions'}"
5356 id =" ${attrs.id}"
57+ data-testid =" ${attrs.containsKey('testId') ? attrs.testid : attrs.containsKey('id') ? attrs.id : ''}"
5458 type =" button" data-dropdown =" true" >
5559 <j : choose >
5660 <j : when test =" ${attrs.containsKey('icon')}" >
You can’t perform that action at this time.
0 commit comments