diff options
| author | fja-odoo <fja@odoo.com> | 2019-09-10 16:30:45 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-09-12 13:49:02 +0000 |
| commit | 424adb63e3ecd9ce6888c3246633a6414215f34d (patch) | |
| tree | a32eb4add8daff0caf8a8ae1aecc7c138c85a965 /addons/test_website/static | |
| parent | 5a273e74f0fff18df5ab6cb240c9e260be4bb7ff (diff) | |
[IMP] gamification, *: remove KarmaError
* = stock, test_website, web, website_forum, website_slides, base
Replace KarmaError with AccessError and remove the related override made
on crash_manager and ir_http.
task-2069890
closes odoo/odoo#36655
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/test_website/static')
| -rw-r--r-- | addons/test_website/static/tests/tours/error_views.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/addons/test_website/static/tests/tours/error_views.js b/addons/test_website/static/tests/tours/error_views.js index 8adb470d505..0d0d4961ea8 100644 --- a/addons/test_website/static/tests/tours/error_views.js +++ b/addons/test_website/static/tests/tours/error_views.js @@ -45,13 +45,6 @@ tour.register('test_error_website', { extra_trigger: 'div.toast-body:contains("This is an access denied rpc test")', trigger: 'button.o_notification_close', }, { - content: "trigger rpc missing error", - trigger: 'a[href="/test_karma_error_json"]', - }, { - content: "rpc missing error modal has message", - extra_trigger: 'div.toast-body:contains("This is a karma rpc test")', - trigger: 'button.o_notification_close', - }, { content: "trigger rpc error 500", trigger: 'a[href="/test_internal_error_json"]', }, { @@ -136,24 +129,6 @@ tour.register('test_error_website', { content: "http missing error page debug has traceback closed", trigger: 'body:has(div#error_traceback.collapse:not(.show) pre#exception_traceback)', run: function () { - window.location.href = window.location.origin + '/test_karma_error_http?debug=0'; - }, - }, { - content: "http karma error page has title and message", - extra_trigger: 'h1:contains("Something went wrong.")', - trigger: 'div.container pre:contains("This is a karma http test")', - run: function () { - window.location.href = window.location.origin + '/test_karma_error_http?debug=1'; - }, - }, { - content: "http karma error page debug has title and message open", - extra_trigger: 'h1:contains("Something went wrong.")', - trigger: 'div#error_main.collapse.show pre:contains("This is a karma http test")', - run: function () {}, - }, { - content: "http karma error page debug has traceback closed", - trigger: 'body:has(div#error_traceback.collapse:not(.show) pre#exception_traceback)', - run: function () { window.location.href = window.location.origin + '/test_access_denied_http?debug=0'; }, }, { |
