summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-05-03 16:11:02 +0200
committerChristophe Simonis <chs@odoo.com>2018-05-03 16:11:02 +0200
commit072c04c53c2f0238c8772a2dbd7dfe9693ebc77a (patch)
tree91532402d7374ef7f4ccdf6905f05ec0941b4e81
parentad802d0d5521f5c2f5543d07f3913b49b97b9731 (diff)
[FIX] web: correct tests after previous forward-port
-rw-r--r--addons/web/static/tests/views/kanban_tests.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/web/static/tests/views/kanban_tests.js b/addons/web/static/tests/views/kanban_tests.js
index 902bb5c8cd8..5618434b09d 100644
--- a/addons/web/static/tests/views/kanban_tests.js
+++ b/addons/web/static/tests/views/kanban_tests.js
@@ -3222,7 +3222,8 @@ QUnit.module('Views', {
kanban.destroy();
});
- QUnit.test('column progressbars on archiving records update counter', function (assert) {
+ // XXX test deactivated in saas~11.2 as kanban archiving has been removed (and readded in saas~11.3)
+ QUnit.skip('column progressbars on archiving records update counter', function (assert) {
assert.expect(4);
// add active field on partner model and make all records active
@@ -3332,7 +3333,7 @@ QUnit.module('Views', {
"Initial count should be Three");
kanban.$('.bg-success-full').click();
var lastCount = parseInt(kanban.$('.o_kanban_counter_side').eq(1).text());
- assert.strictEqual(lastCount, 0,
+ assert.strictEqual(lastCount, 1,
"kanban counters should vary according to what subgroup is selected");
kanban.destroy();