@@ -36,7 +36,7 @@ suite('selenium', function() {
36
36
37
37
this . timeout ( 180000 ) ;
38
38
39
- var firefoxStableBinaryPath , firefoxBetaBinaryPath , firefoxNightlyBinaryPath , chromeBinaryPath ;
39
+ var firefoxStableBinaryPath , firefoxBetaBinaryPath , firefoxAuroraBinaryPath , firefoxNightlyBinaryPath , chromeBinaryPath ;
40
40
var server , driver ;
41
41
42
42
function runTest ( params ) {
@@ -46,6 +46,10 @@ suite('selenium', function() {
46
46
} else if ( params . browser === 'firefox-beta' ) {
47
47
params . browser = 'firefox' ;
48
48
firefoxBinaryPath = firefoxBetaBinaryPath ;
49
+ } else if ( params . browser === 'firefox-aurora' ) {
50
+ params . browser = 'firefox' ;
51
+ firefoxBinaryPath = firefoxAuroraBinaryPath ;
52
+ process . env . SELENIUM_MARIONETTE = true ;
49
53
}
50
54
51
55
process . env . SELENIUM_BROWSER = params . browser ;
@@ -122,6 +126,14 @@ suite('selenium', function() {
122
126
123
127
promises . push ( seleniumInit . downloadFirefoxBeta ( ) ) ;
124
128
129
+ /*if (process.platform === 'linux') {
130
+ firefoxAuroraBinaryPath = 'test_tools/aurora/firefox/firefox-bin';
131
+ } else if (process.platform === 'darwin') {
132
+ firefoxAuroraBinaryPath = 'test_tools/aurora/Firefox.app/Contents/MacOS/firefox-bin';
133
+ }
134
+
135
+ promises.push(seleniumInit.downloadFirefoxAurora());*/
136
+
125
137
if ( process . platform === 'linux' ) {
126
138
firefoxNightlyBinaryPath = 'test_tools/firefox/firefox-bin' ;
127
139
} else if ( process . platform === 'darwin' ) {
@@ -156,6 +168,7 @@ suite('selenium', function() {
156
168
console . log ( 'Using Firefox: ' + firefoxStableBinaryPath ) ;
157
169
console . log ( 'Version: ' + childProcess . execSync ( firefoxStableBinaryPath + ' --version' ) ) ;
158
170
console . log ( 'Beta Version: ' + childProcess . execSync ( firefoxBetaBinaryPath + ' --version' ) ) ;
171
+ console . log ( 'Aurora Version: ' + childProcess . execSync ( firefoxAuroraBinaryPath + ' --version' ) ) ;
159
172
} catch ( e ) { }
160
173
161
174
if ( process . env . GCM_API_KEY && ! fs . existsSync ( chromeBinaryPath ) ) {
0 commit comments