4e0d63b4 by Parul Sharma

adding more browsers

1 parent d9b22c4b
...@@ -26,7 +26,7 @@ module.exports = function(config) { ...@@ -26,7 +26,7 @@ module.exports = function(config) {
26 // - PhantomJS 26 // - PhantomJS
27 // - IE (only Windows) 27 // - IE (only Windows)
28 // Example usage: 28 // Example usage:
29 browsers: ['test_browser'], 29 browsers: ['test_browser', 'firefox_test', 'safari_test', 'ipad_test'],
30 30
31 // List of files / patterns to load in the browser 31 // List of files / patterns to load in the browser
32 // Add any new src files to this list. 32 // Add any new src files to this list.
...@@ -57,11 +57,11 @@ module.exports = function(config) { ...@@ -57,11 +57,11 @@ module.exports = function(config) {
57 plugins: [ 57 plugins: [
58 'karma-qunit', 58 'karma-qunit',
59 'karma-chrome-launcher', 59 'karma-chrome-launcher',
60 //'karma-firefox-launcher', 60 'karma-firefox-launcher',
61 //'karma-ie-launcher', 61 //'karma-ie-launcher',
62 //'karma-opera-launcher', 62 //'karma-opera-launcher',
63 //'karma-phantomjs-launcher', 63 //'karma-phantomjs-launcher',
64 //'karma-safari-launcher', 64 'karma-safari-launcher',
65 'karma-sauce-launcher' 65 'karma-sauce-launcher'
66 ], 66 ],
67 67
...@@ -106,12 +106,34 @@ module.exports = function(config) { ...@@ -106,12 +106,34 @@ module.exports = function(config) {
106 106
107 //define SL browsers 107 //define SL browsers
108 customLaunchers: { 108 customLaunchers: {
109 test_browser: { 109 test_browser: {
110 singleRun: true, 110 singleRun: true,
111 base: 'SauceLabs', 111 base: 'SauceLabs',
112 browserName: 'chrome', 112 browserName: 'chrome',
113 platform: 'Windows XP' 113 platform: 'Windows XP'
114 },
115
116 firefox_test: {
117 singleRun: true,
118 base: 'SauceLabs',
119 browserName: 'firefox',
120 platform: 'Windows 8'
121 },
122
123 safari_test: {
124 singleRun: true,
125 base: 'SauceLabs',
126 browserName: 'safari',
127 platform: 'OS X 10.8'
128 },
129
130 ipad_test: {
131 singleRun: true,
132 base: 'SauceLabs',
133 browserName: 'ipad',
134 platform:'OS X 10.8'
114 } 135 }
136
115 } 137 }
116 138
117 }); 139 });
......