[REF] *: update js test suite to use helpers
This rev. is the counterpart of community PR odoo/odoo/pull/28784. Joint work with aab, dam, ged, mge, svs and vsc. closes odoo/enterprise#3100
This commit is contained in:
committed by
Aaron Bohy
parent
26f916cde5
commit
d28c413991
@@ -22,7 +22,7 @@ tour.register('shop_sale_coupon', {
|
||||
trigger: "#customize-menu a:contains(Show # found)",
|
||||
run: function () {
|
||||
if (!$('#customize-menu a:contains(Show # found) input').prop('checked')) {
|
||||
$('#customize-menu a:contains(Show # found)').click();
|
||||
testUtils.dom.click($('#customize-menu a:contains(Show # found)'));
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -51,7 +51,7 @@ tour.register('shop_sale_coupon', {
|
||||
trigger: "#customize-menu a:contains(Promo Code)",
|
||||
run: function () {
|
||||
if (!$('#customize-menu a:contains(Promo Code) input').prop('checked')) {
|
||||
$('#customize-menu a:contains(Promo Code)').click();
|
||||
testUtils.dom.click($('#customize-menu a:contains(Promo Code)'));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user