Skip to content

Commit

Permalink
test debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mercihabam committed Oct 16, 2024
1 parent ae92690 commit 2f17fe2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion modules/core/output_modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ class Hm_Output_page_js extends Hm_Output_Module {
* Includes the cash.js library, and the forge lib if it's needed.
*/
protected function output() {
if (DEBUG_MODE) {
if (!DEBUG_MODE) {
$res = '';
$js_lib = '<script type="text/javascript" src="'.WEB_ROOT.'vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js"></script>';
$js_lib .= '<script type="text/javascript" src="'.WEB_ROOT.'third_party/cash.min.js"></script>';
Expand Down
3 changes: 0 additions & 3 deletions tests/selenium/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@ def good_login(self):
assert self.by_class('content_title') != None

def good_logout(self):
print(" - DOM before logout: {0}".format(self.by_tag('body').get_attribute('innerHTML')))
self.logout()
self.wait()
print(" - Sys messages: {0}".format(self.by_class('sys_messages').text))
print(" - DOM: {0}".format(self.by_tag('body').get_attribute('innerHTML')))
assert self.by_class('sys_messages').text == 'Session destroyed on logout'


Expand Down

0 comments on commit 2f17fe2

Please sign in to comment.