@@ -223,13 +223,13 @@ suite('selenium', function() {
223
223
224
224
promises . push ( seleniumInit . downloadFirefoxRelease ( ) ) ;
225
225
226
- if ( process . platform === 'linux' ) {
226
+ /* if (process.platform === 'linux') {
227
227
firefoxBetaBinaryPath = 'test_tools/beta/firefox/firefox-bin';
228
228
} else if (process.platform === 'darwin') {
229
229
firefoxBetaBinaryPath = 'test_tools/beta/Firefox.app/Contents/MacOS/firefox-bin';
230
230
}
231
231
232
- promises . push ( seleniumInit . downloadFirefoxBeta ( ) ) ;
232
+ promises.push(seleniumInit.downloadFirefoxBeta());*/
233
233
234
234
/*if (process.platform === 'linux') {
235
235
firefoxAuroraBinaryPath = 'test_tools/aurora/firefox/firefox-bin';
@@ -245,7 +245,7 @@ suite('selenium', function() {
245
245
firefoxNightlyBinaryPath = 'test_tools/FirefoxNightly.app/Contents/MacOS/firefox-bin' ;
246
246
}
247
247
248
- promises . push ( seleniumInit . downloadFirefoxNightly ( ) ) ;
248
+ // promises.push(seleniumInit.downloadFirefoxNightly());
249
249
250
250
promises . push ( seleniumInit . downloadSeleniumServer ( ) ) ;
251
251
@@ -267,16 +267,16 @@ suite('selenium', function() {
267
267
throw new Error ( 'Firefox binary doesn\'t exist at ' + firefoxStableBinaryPath + '. Use your installed Firefox binary by setting the FIREFOX environment' . bold . red ) ;
268
268
}
269
269
270
- if ( firefoxBetaBinaryPath && ! fs . existsSync ( firefoxBetaBinaryPath ) ) {
270
+ /* if (firefoxBetaBinaryPath && !fs.existsSync(firefoxBetaBinaryPath)) {
271
271
throw new Error('Firefox binary doesn\'t exist at ' + firefoxBetaBinaryPath + '.'.bold.red);
272
- }
272
+ }*/
273
273
274
274
try {
275
275
console . log ( 'Using Firefox: ' + firefoxStableBinaryPath ) ;
276
276
console . log ( 'Version: ' + childProcess . execSync ( firefoxStableBinaryPath + ' --version' ) . toString ( ) . replace ( '\n' , '' ) ) ;
277
- console . log ( 'Beta Version: ' + childProcess . execSync ( firefoxBetaBinaryPath + ' --version' ) . toString ( ) . replace ( '\n' , '' ) ) ;
277
+ // console.log('Beta Version: ' + childProcess.execSync(firefoxBetaBinaryPath + ' --version').toString().replace('\n', ''));
278
278
//console.log('Aurora Version: ' + childProcess.execSync(firefoxAuroraBinaryPath + ' --version').toString().replace('\n', ''));
279
- console . log ( 'Nightly Version: ' + childProcess . execSync ( firefoxNightlyBinaryPath + ' --version' ) . toString ( ) . replace ( '\n' , '' ) ) ;
279
+ // console.log('Nightly Version: ' + childProcess.execSync(firefoxNightlyBinaryPath + ' --version').toString().replace('\n', ''));
280
280
} catch ( e ) { }
281
281
282
282
if ( process . env . GCM_API_KEY && ! fs . existsSync ( chromeBinaryPath ) ) {
@@ -336,11 +336,11 @@ suite('selenium', function() {
336
336
} ) ;
337
337
} ) ;
338
338
339
- test ( 'send/receive notification without payload with Firefox Beta' , function ( ) {
339
+ /* test('send/receive notification without payload with Firefox Beta', function() {
340
340
return runTest({
341
341
browser: 'firefox-beta',
342
342
});
343
- } ) ;
343
+ });*/
344
344
345
345
if ( process . env . GCM_API_KEY && process . env . TRAVIS_OS_NAME !== 'osx' ) {
346
346
test ( 'send/receive notification without payload with Chrome' , function ( ) {
@@ -357,12 +357,12 @@ suite('selenium', function() {
357
357
} ) ;
358
358
} ) ;
359
359
360
- test ( 'send/receive notification with payload with Firefox Beta' , function ( ) {
360
+ /* test('send/receive notification with payload with Firefox Beta', function() {
361
361
return runTest({
362
362
browser: 'firefox-beta',
363
363
payload: 'marco',
364
364
});
365
- } ) ;
365
+ });*/
366
366
367
367
if ( process . env . GCM_API_KEY && process . env . TRAVIS_OS_NAME !== 'osx' ) {
368
368
test ( 'send/receive notification with payload with Chrome' , function ( ) {
@@ -380,12 +380,12 @@ suite('selenium', function() {
380
380
} ) ;
381
381
} ) ;
382
382
383
- test ( 'send/receive notification with vapid with Firefox Beta' , function ( ) {
383
+ /* test('send/receive notification with vapid with Firefox Beta', function() {
384
384
return runTest({
385
385
browser: 'firefox-beta',
386
386
vapid: vapidParam,
387
387
});
388
- } ) ;
388
+ });*/
389
389
390
390
if ( process . env . GCM_API_KEY && process . env . TRAVIS_OS_NAME !== 'osx' ) {
391
391
test ( 'send/receive notification with vapid with Chrome' , function ( ) {
@@ -396,13 +396,13 @@ suite('selenium', function() {
396
396
} ) ;
397
397
}
398
398
399
- test ( 'send/receive notification with payload & vapid with Firefox Beta' , function ( ) {
399
+ /* test('send/receive notification with payload & vapid with Firefox Beta', function() {
400
400
return runTest({
401
401
browser: 'firefox-beta',
402
402
payload: 'marco',
403
403
vapid: vapidParam,
404
404
});
405
- } ) ;
405
+ });*/
406
406
407
407
if ( process . env . GCM_API_KEY && process . env . TRAVIS_OS_NAME !== 'osx' ) {
408
408
test ( 'send/receive notification with payload & vapid with Chrome' , function ( ) {
0 commit comments