Temporarily disabling flaky JS tests.

This commit is contained in:
Kumar McMillan 2011-12-28 16:28:35 -06:00
Родитель e3d3034063
Коммит 643461790c
1 изменённых файлов: 22 добавлений и 19 удалений

Просмотреть файл

@ -59,26 +59,29 @@ $(document).ready(function() {
this.check(true); this.check(true);
}); });
module('ACR nightly compatible', $.extend({}, acrFixture, { // These tests are flaky.
setup: function() { // See https://ci.mozilla.org/job/amo-master-js/2168/console
var nightlyVer = $(document.body).attr('data-nightly-version');
// We're running Nightly, and we're going to pretend all the
// add-ons are compatible with 8.0.
acrFixture.setup.call(this, nightlyVer, true, nightlyVer);
}
}));
test('No pitch balloon', function() {
this.check(false);
});
module('ACR non-nightly compatible', $.extend({}, acrFixture, { // module('ACR nightly compatible', $.extend({}, acrFixture, {
setup: function() { // setup: function() {
acrFixture.setup.call(this, '4.0', false); // var nightlyVer = $(document.body).attr('data-nightly-version');
} // // We're running Nightly, and we're going to pretend all the
})); // // add-ons are compatible with 8.0.
test('No pitch balloon', function() { // acrFixture.setup.call(this, nightlyVer, true, nightlyVer);
this.check(false); // }
}); // }));
// test('No pitch balloon', function() {
// this.check(false);
// });
//
// module('ACR non-nightly compatible', $.extend({}, acrFixture, {
// setup: function() {
// acrFixture.setup.call(this, '4.0', false);
// }
// }));
// test('No pitch balloon', function() {
// this.check(false);
// });
var acrOverrideFixture = { var acrOverrideFixture = {