[IMP] *: adapt qunit suite bundle inheritance

Since the test assets bundle name has been changed and its structure is different,
the inheriting assets need to be updated.

Task 2002399
This commit is contained in:
Julien Mougenot
2020-04-07 14:40:53 +00:00
parent 89dbb49235
commit 48ee7272b6
38 changed files with 68 additions and 68 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
</xpath>
</template>
<template id="qunit_suite" name="account tests" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="account tests" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[contains(@src, '/web/static/tests/views/kanban_tests.js')]" position="after">
<script type="text/javascript" src="/account/static/tests/account_payment_field_tests.js"></script>
<script type="text/javascript" src="/account/static/tests/section_and_note_tests.js"></script>
+4 -4
View File
@@ -10,14 +10,14 @@
</xpath>
</template>
<template id="qunit_suite" name="barcode_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="barcode_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/barcodes/static/tests/barcode_tests.js"/>
</xpath>
</template>
<template id="qunit_mobile_suite" name="barcode_mobile_tests" inherit_id="web.qunit_mobile_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_mobile_suite" name="barcode_mobile_tests" inherit_id="web.qunit_mobile_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/barcodes/static/tests/barcode_mobile_tests.js"></script>
</xpath>
</template>
@@ -110,8 +110,8 @@
</xpath>
</template>
<template id="qunit_suite" name="base_automation_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="base_automation_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/base_automation/static/tests/base_automation_error_dialog.js"/>
</xpath>
</template>
+1 -1
View File
@@ -8,7 +8,7 @@
</xpath>
</template>
<template id="qunit_suite" name="base_iban_widget_tests" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="base_iban_widget_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/base_iban/static/src/tests/iban_widget_test.js"></script>
</xpath>
@@ -10,14 +10,14 @@
</xpath>
</template>
<template id="qunit_suite" name="base_import_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="base_import_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/base_import/static/tests/import_buttons_tests.js"></script>
</xpath>
</template>
<template id="qunit_mobile_suite" name="base_import_mobile_tests" inherit_id="web.qunit_mobile_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_mobile_suite" name="base_import_mobile_tests" inherit_id="web.qunit_mobile_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/base_import/static/tests/import_buttons_mobile_tests.js"></script>
</xpath>
</template>
+2 -2
View File
@@ -9,8 +9,8 @@
</xpath>
</template>
<template id="qunit_suite" name="dashboard_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="dashboard_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/board/static/tests/dashboard_tests.js"></script>
</xpath>
</template>
+1 -1
View File
@@ -16,7 +16,7 @@
</xpath>
</template>
<template id="qunit_suite" name="bus tests" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="bus tests" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/bus/static/tests/bus_tests.js"/>
</xpath>
+1 -1
View File
@@ -10,7 +10,7 @@
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/calendar/static/tests/calendar_tests.js"/>
<script type="text/javascript" src="/calendar/static/tests/systray_activity_menu_tests.js"/>
+2 -2
View File
@@ -12,8 +12,8 @@
<script type="text/javascript" src="/event_sale/static/tests/tours/event_configurator_ui.js"></script>
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite" name="event_sale_tests">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests" name="event_sale_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/event_sale/static/tests/event_configurator.test.js"></script>
</xpath>
</template>
@@ -7,8 +7,8 @@
</xpath>
</template>
<template id="qunit_suite" name="google_calendar_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="google_calendar_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/google_calendar/static/tests/google_calendar_tests.js"></script>
</xpath>
</template>
@@ -8,8 +8,8 @@
</xpath>
</template>
<template id="qunit_suite" name="google_drive tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="google_drive tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/google_drive/static/tests/mock_server.js"></script>
<script type="text/javascript" src="/google_drive/static/tests/gdrive_test.js"></script>
</xpath>
@@ -12,7 +12,7 @@
</xpath>
</template>
<template id="qunit_suite" name="hr attendance tests" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="hr attendance tests" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[contains(@src, '/web/static/tests/views/kanban_tests.js')]" position="after">
<script type="text/javascript" src="/hr_attendance/static/tests/hr_attendance_tests.js"></script>
</xpath>
@@ -10,7 +10,7 @@
<link rel="stylesheet" type="text/scss" href="/hr_holidays/static/src/scss/time_off.scss"/>
</xpath>
</template>
<template id="qunit_suite" name="hr_holidays_qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="hr_holidays_qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/hr_holidays/static/tests/test_leave_stats_widget.js"></script>
</xpath>
+1 -1
View File
@@ -13,7 +13,7 @@
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/hr_org_chart/static/tests/hr_org_chart_tests.js"/>
</xpath>
+1 -1
View File
@@ -6,7 +6,7 @@
<script type="text/javascript" src="/hr_skills/static/src/js/resume_widget.js"></script>
</xpath>
</template>
<template id="qunit_suite" name="hr_skills_qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="hr_skills_qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/hr_skills/static/tests/widget_tests.js"></script>
</xpath>
@@ -15,8 +15,8 @@
</xpath>
</template>
<template id="qunit_suite" name="livechat_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="livechat_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/im_livechat/static/src/js/website_livechat_window.js"></script>
<script type="text/javascript" src="/im_livechat/static/src/js/models/website_livechat.js"></script>
<script type="text/javascript" src="/im_livechat/static/src/js/models/website_livechat_message.js"></script>
+4 -4
View File
@@ -15,15 +15,15 @@
</xpath>
</template>
<template id="qunit_suite" name="im_support_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="im_support_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/im_support/static/tests/helpers/test_utils.js"></script>
<script type="text/javascript" src="/im_support/static/tests/systray_no_support_tests.js"></script>
</xpath>
</template>
<template id="qunit_mobile_suite" name="im_support_mobile_tests" inherit_id="web.qunit_mobile_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_mobile_suite" name="im_support_mobile_tests" inherit_id="web.qunit_mobile_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/im_support/static/tests/helpers/test_utils.js"></script>
</xpath>
</template>
+4 -4
View File
@@ -16,15 +16,15 @@
</xpath>
</template>
<template id="qunit_suite" name="lunch tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="lunch tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/lunch/static/tests/lunch_test_utils.js"></script>
<script type="text/javascript" src="/lunch/static/tests/lunch_kanban_tests.js"></script>
</xpath>
</template>
<template id="qunit_mobile_suite" name="lunch mobile tests" inherit_id="web.qunit_mobile_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_mobile_suite" name="lunch mobile tests" inherit_id="web.qunit_mobile_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/lunch/static/tests/lunch_test_utils.js"></script>
<script type="text/javascript" src="/lunch/static/tests/lunch_kanban_mobile_tests.js"></script>
</xpath>
+2 -2
View File
@@ -110,8 +110,8 @@
</xpath>
</template>
<template id="qunit_suite" name="mail_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="mail_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<!-- thread window -->
<script type="text/javascript" src="/mail/static/tests/thread_window/basic_thread_window_tests.js"></script>
<script type="text/javascript" src="/mail/static/tests/thread_window/blank_thread_window_tests.js"></script>
+2 -2
View File
@@ -8,8 +8,8 @@
<script type="text/javascript" src="/mail_bot/static/src/js/systray_messaging_menu.js"></script>
</xpath>
</template>
<template id="qunit_suite" name="mail_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="mail_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/mail_bot/static/tests/systray_messaging_menu_tests.js"></script>
</xpath>
</template>
+1 -1
View File
@@ -38,7 +38,7 @@
<link rel="stylesheet" type="text/scss" href="/mass_mailing/static/src/css/basic_theme_readonly.css"/>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript">
odoo.define('mass_mailing.FieldHtml.test', function (require) {
+2 -2
View File
@@ -24,7 +24,7 @@
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/mrp/static/tests/mrp_tests.js"/>
<script type="text/javascript" src="/mrp/static/tests/mrp_document_kanban_tests.js"/>
@@ -32,7 +32,7 @@
</template>
<template id="exception_on_mo">
<div class="alert alert-warning" role="alert">
<div class="alert alert-warning" role="alert">
Exception(s) occurred on the manufacturing order(s):
<a href="#" data-oe-model="mrp.production" t-att-data-oe-id="production_order.id"><t t-esc="production_order.name"/></a>.
Manual actions may be needed.
+2 -2
View File
@@ -9,8 +9,8 @@
</xpath>
</template>
<template id="qunit_suite" name="note_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="note_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/note/static/tests/systray_activity_menu_tests.js"></script>
</xpath>
</template>
+1 -1
View File
@@ -7,7 +7,7 @@
</xpath>
</template>
<template id="qunit_suite" name="pad tests" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="pad tests" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/pad/static/tests/pad_tests.js"></script>
</xpath>
@@ -15,7 +15,7 @@
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/partner_autocomplete/static/tests/partner_autocomplete_tests.js"/>
</xpath>
+2 -2
View File
@@ -6,8 +6,8 @@
<script type="text/javascript" src="/product/static/src/js/product_pricelist_report.js"></script>
</xpath>
</template>
<template id="qunit_suite" name="Product pricelist report tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="Product pricelist report tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/product/static/tests/product_pricelist_report_test.js"></script>
</xpath>
</template>
@@ -7,8 +7,8 @@
</xpath>
</template>
<template id="qunit_suite" name="purchase_product_matrix tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="purchase_product_matrix tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/purchase_product_matrix/static/tests/section_and_note_widget_tests.js"></script>
</xpath>
</template>
+2 -2
View File
@@ -29,8 +29,8 @@
<script type="text/javascript" src="/sale/static/tests/tours/sale_signature.js"></script>
</xpath>
</template>
<template id="qunit_suite" name="sale_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="sale_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/sale/static/tests/product_configurator_tests.js"></script>
<script type="text/javascript" src="/sale/static/tests/sales_team_dashboard_tests.js"></script>
</xpath>
+1 -1
View File
@@ -6,7 +6,7 @@
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/sale_expense/static/tests/sale_order_many2one_tests.js"/>
</xpath>
@@ -20,8 +20,8 @@
<script type="text/javascript" src="/sale_product_configurator/static/tests/tours/product_configurator_optional_products_ui.js"/>
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite" name="sale_product_configurator_tests">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests" name="sale_product_configurator_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/sale_product_configurator/static/tests/product_configurator.test.js"></script>
</xpath>
</template>
+2 -2
View File
@@ -6,8 +6,8 @@
</xpath>
</template>
<template id="qunit_suite" name="sale_product_matrix tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="sale_product_matrix tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/sale_product_matrix/static/tests/section_and_note_widget_tests.js"></script>
</xpath>
</template>
+1 -1
View File
@@ -14,7 +14,7 @@
</xpath>
</template>
<template id="qunit_suite" name="sms_widget_tests" inherit_id="web.qunit_suite">
<template id="qunit_suite" name="sms_widget_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/sms/static/tests/sms_widget_test.js"></script>
</xpath>
+2 -2
View File
@@ -11,8 +11,8 @@
</xpath>
</template>
<template id="qunit_suite" name="snailmail_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="snailmail_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/snailmail/static/tests/chatter_snailmail_tests.js"></script>
</xpath>
</template>
+2 -2
View File
@@ -17,8 +17,8 @@
</xpath>
</template>
<template id="qunit_suite" name="stock tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="stock tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/stock/static/tests/singleton_list_tests.js"/>
<script type="text/javascript" src="/stock/static/tests/popover_widget_tests.js"/>
<script type="text/javascript" src="/stock/static/tests/stock_traceability_report_backend_tests.js"/>
+1 -1
View File
@@ -175,7 +175,7 @@
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript">
odoo.define('web_editor.wysiwyg.root.test', function (require) {
@@ -6,8 +6,8 @@
</xpath>
</template>
<template id="qunit_suite" name="gauge_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<template id="qunit_suite" name="gauge_tests" inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_kanban_gauge/static/tests/gauge_tests.js"></script>
</xpath>
</template>
+1 -1
View File
@@ -26,7 +26,7 @@
</xpath>
</template>
<template id="web_tour.qunit_suite" name="tour tests" inherit_id="web.qunit_suite">
<template id="web_tour.qunit_suite" name="tour tests" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/web_tour/static/tests/tour_manager_tests.js"/>
</xpath>
+1 -1
View File
@@ -44,7 +44,7 @@
</xpath>
</template>
<template id="qunit_suite" inherit_id="web.qunit_suite">
<template id="qunit_suite" inherit_id="web.qunit_suite_tests">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/website/static/tests/website_tests.js"/>
</xpath>