File tree 6 files changed +24
-2
lines changed
6 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ function Editor(window) {
45
45
//Samit: Enh: now sync other UI elements with the options
46
46
self . updateDeveloperTools ( self . app . getBooleanOption ( 'showDeveloperTools' ) ) ;
47
47
self . updateExperimentalFeatures ( self . app . getBooleanOption ( 'enableExperimentalFeatures' ) ) ;
48
+ self . updateVisualEye ( self . app . getBooleanOption ( 'visualEye' ) ) ;
48
49
} ,
49
50
50
51
testSuiteChanged : function ( testSuite ) {
@@ -716,6 +717,12 @@ Editor.prototype.updateDeveloperTools = function (show) {
716
717
$ ( "reload-button" ) . disabled = ! show ;
717
718
} ;
718
719
720
+ //Samit: Enh: Provide a bit of visual assistance
721
+ Editor . prototype . updateVisualEye = function ( show ) {
722
+ var container = document . getElementById ( "visualEyeContainer" ) ;
723
+ show ? container . classList . add ( "visualeye" ) : container . classList . remove ( "visualeye" ) ;
724
+ } ;
725
+
719
726
Editor . prototype . autoCompleteCommand = function ( command ) {
720
727
var newcmd = command . replace ( / ^ .+ > > / , '' ) ;
721
728
if ( newcmd !== command ) {
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ limitations under the License.
88
88
<checkbox id =" recordAssertTitle" label =" &options.recordAssertTitle.description; " />
89
89
<checkbox id =" recordAbsoluteURL" label =" &options.recordAbsoluteURL.description; " />
90
90
<checkbox id =" showDeveloperTools" label =" &options.showDeveloperTools.description; " oncommand =" updateReloadButton(this.checked)" />
91
+ <checkbox id =" visualEye" label =" Visual assist (restart of Selenium IDE is required)" />
91
92
<checkbox id =" enableExperimentalFeatures" label =" &options.enableExperimentalFeatures.label; " />
92
93
<checkbox id =" disableFormatChangeMsg" label =" &options.disableFormatChangeMsg.label; " />
93
94
<checkbox id =" recordOnOpen" label =" &options.recordOnOpen.description; " />
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ SeleniumIDE.Preferences.DEFAULT_OPTIONS = {
164
164
disableBadPluginAddon : "true" ,
165
165
enableExperimentalFeatures : "false" ,
166
166
showDeveloperTools : "false" ,
167
+ visualEye : "false" ,
167
168
168
169
//Internal data
169
170
pluginsData : "[]" ,
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ limitations under the License.
73
73
</toolbar >
74
74
</toolbox >
75
75
76
- <vbox flex =" 1" >
76
+ <vbox id = " visualEyeContainer " flex =" 1" >
77
77
<hbox width =" 100" persist =" height width" flex =" 1" >
78
78
<vbox id =" suitePane" persist =" height width" />
79
79
<splitter id =" suiteTreeSplitter" collapse =" before" persist =" state" >
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ limitations under the License.
87
87
</toolbar >
88
88
</toolbox >
89
89
90
- <vbox flex =" 1" >
90
+ <vbox id = " visualEyeContainer " flex =" 1" >
91
91
<hbox id =" mainhbox" width =" 150" persist =" height width" flex =" 1" >
92
92
<vbox id =" suitePane" persist =" height width" />
93
93
<splitter id =" suiteTreeSplitter" collapse =" before" persist =" state" >
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ treechildren::-moz-tree-row(commandFailed)
20
20
background-color : # FFCCCC ;
21
21
}
22
22
23
+ .visualeye treechildren ::-moz-tree-row (commandFailed )
24
+ {
25
+ background-color : # cc7a7a ;
26
+ }
27
+
23
28
treechildren ::-moz-tree-row (commandPassed )
24
29
{
25
30
background-color : # CCFFCC ;
@@ -281,6 +286,14 @@ tab label {
281
286
text-align : right;
282
287
}
283
288
289
+ .visualeye # suiteProgressRuns {
290
+ color : # 2fed2f ;
291
+ }
292
+
293
+ .visualeye # suiteProgressFailures {
294
+ color : # ba0000 ;
295
+ }
296
+
284
297
# source {
285
298
font-family : monospace;
286
299
}
You can’t perform that action at this time.
0 commit comments