Add opera 9 and 10 to sauce tests.

This commit is contained in:
John-David Dalton
2013-12-16 00:28:06 -08:00
parent ecaea51fe0
commit b5dc89f0e6

View File

@@ -76,6 +76,8 @@
['Windows XP', 'internet explorer', '6'],
['Windows 7', 'opera', '12'],
['Windows 7', 'opera', '11'],
['Windows 7', 'opera', '10'],
['Windows 7', 'opera', '9'],
['OS X 10.8', 'safari', '6'],
['Windows 7', 'safari', '5'],
['Windows XP', 'safari', '4']
@@ -96,6 +98,18 @@
['Windows 7', 'internet explorer', '8']
];
}
// platforms for AMD tests
if (_.contains(tags, 'amd')) {
platforms = platforms.filter(function(platform) {
var browser = platform[1],
version = +platform[2];
if (browser == 'opera') {
return version >= 10;
}
return true;
});
}
// platforms for Backbone tests
if (isBackbone) {
platforms = platforms.filter(function(platform) {