File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed
zeppelin-server/src/test/java/org/apache/zeppelin/integration
zeppelin-web/src/app/notebook Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ public void testGroupPermission() throws Exception {
158158
159159 String noteId = driver .getCurrentUrl ().substring (driver .getCurrentUrl ().lastIndexOf ("/" ) + 1 );
160160
161- pollingWait (By .xpath ("//button [@tooltip='Note permissions']" ),
162- MAX_BROWSER_TIMEOUT_SEC ).sendKeys ( Keys . ENTER );
161+ pollingWait (By .xpath ("//span [@tooltip='Note permissions']" ),
162+ MAX_BROWSER_TIMEOUT_SEC ).click ( );
163163 pollingWait (By .xpath ("//input[@ng-model='permissions.owners']" ), MAX_BROWSER_TIMEOUT_SEC )
164164 .sendKeys ("finance" );
165165 pollingWait (By .xpath ("//input[@ng-model='permissions.readers']" ), MAX_BROWSER_TIMEOUT_SEC )
Original file line number Diff line number Diff line change @@ -153,26 +153,24 @@ <h3>
153153 </ span >
154154
155155 < div class ="pull-right " style ="margin-top:15px; margin-right:15px; font-size:15px; ">
156- < span >
157- < button type ="button "
158- class ="btn btn-default btn-xs "
156+ < span class ="setting-btn "
157+ type ="button "
159158 data-toggle ="modal "
160159 data-target ="#shortcutModal "
161160 tooltip-placement ="bottom " tooltip ="List of shortcut ">
162- < i class ="fa fa-keyboard-o "> </ i >
163- </ button >
164- < button type =" button "
165- class =" btn btn-default btn-xs "
161+ < i class ="fa fa-keyboard-o "> </ i >
162+ </ span >
163+ < span class =" setting-btn "
164+ type =" button "
166165 ng-click ="toggleSetting() "
167166 tooltip-placement ="bottom " tooltip ="Interpreter binding ">
168- < i class ="fa fa-cog " ng-style ="{color: showSetting ? '#3071A9' : 'black' } "> </ i >
169- </ button >
170- < button type =" button "
171- class =" btn btn-default btn-xs "
167+ < i class ="fa fa-cog " ng-style ="{color: showSetting ? '#3071A9' : 'black' } "> </ i >
168+ </ span >
169+ < span class =" setting-btn "
170+ type =" button "
172171 ng-click ="togglePermissions() "
173172 tooltip-placement ="bottom " tooltip ="Note permissions ">
174- < i class ="fa fa-lock " ng-style ="{color: showPermissions ? '#3071A9' : 'black' } "> </ i >
175- </ button >
173+ < i class ="fa fa-lock " ng-style ="{color: showPermissions ? '#3071A9' : 'black' } "> </ i >
176174 </ span >
177175
178176 < span class ="btn-group ">
Original file line number Diff line number Diff line change 223223 padding-left : 5px ;
224224}
225225
226+ .setting-btn {
227+ position : relative;
228+ top : 2px ;
229+ margin-right : 4px ;
230+ cursor : pointer;
231+ }
232+
226233.cron-preset-container {
227234 padding : 10px 20px 0 20px ;
228235 font-weight : normal;
You can’t perform that action at this time.
0 commit comments