This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| UBUNTURELEASE="ubuntu-trusty" | |
| GITUSERNAME="David Monllao" | |
| GITUSEREMAIL="[email protected]" | |
| DBPASSWORD="moodle" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ## | |
| # This file exposes the behaviour of the conflicts resolution function. | |
| # * You need to clone https://github.com/dmonllao/moodle-local_ci somewhere and checkout 'autoresolver' branch | |
| # and ln -s /LOCAL_CI/PATH/resolve_rebase_conflicts_test.sh /MOODLECLONE/PATH/ | |
| # * Comment out $gitcmd clean -dfx from rebase_security/rebase_security.sh | |
| # * I'm using a couple of repos in [email protected]:davidm to test this resetting HEAD to a hardcoded | |
| # old weekly commits after each execution, something like this below: | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Operating system: Linux | |
| 0.0.0 Linux 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 | |
| CPU: amd64 | |
| family 6 model 44 stepping 2 | |
| 4 CPUs | |
| Crash reason: SIGSEGV | |
| Crash address: 0xf64034 | |
| Thread 0 (crashed) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 328f9f77ed72186419f1abc56c1baccf268153fb Mon Sep 17 00:00:00 2001 | |
| From: David Monllao <[email protected]> | |
| Date: Mon, 17 Feb 2014 11:52:20 +0800 | |
| Subject: [PATCH] For Moodle 2.5 - Output the DOM in the CLI window | |
| --- | |
| lib/tests/behat/behat_hooks.php | 11 +++++++++++ | |
| 1 file changed, 11 insertions(+) | |
| diff --git a/lib/tests/behat/behat_hooks.php b/lib/tests/behat/behat_hooks.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| replace_take_care_with_me "I fill in\(.*\)with" "I set the field\1to" "" 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // config.php | |
| $CFG->behat_config = array( | |
| 'default' => array( | |
| 'extensions' => array( | |
| 'Behat\MinkExtension\Extension' => array( | |
| 'zombie' => '', | |
| 'javascript_session' => 'zombie' | |
| ) | |
| ) | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ERROR - 2013-12-16T09:55:35.588Z] RouterReqHand - _handle - Thrown => { | |
| "message": "Request => {\"headers\":{\"Accept\":\"application/json;charset=UTF-8\",\"Content-Length\":\"0\",\"Content-Type\":\"application/json;charset=UTF-8\",\"Expect\":\"100-continue\",\"Host\":\"127.0.0.1:4444\"},\"httpVersion\":\"1.1\",\"method\":\"POST\",\"post\":\"\",\"url\":\"/accept_alert\",\"urlParsed\":{\"anchor\":\"\",\"query\":\"\",\"file\":\"accept_alert\",\"directory\":\"/\",\"path\":\"/accept_alert\",\"relative\":\"/accept_alert\",\"port\":\"\",\"host\":\"\",\"password\":\"\",\"user\":\"\",\"userInfo\":\"\",\"authority\":\"\",\"protocol\":\"\",\"source\":\"/accept_alert\",\"queryKey\":{},\"chunks\":[\"accept_alert\"]},\"urlOriginal\":\"/session/317fd5f0-6638-11e3-9cab-c560a1347f3d/accept_alert\"}", | |
| "name": "Invalid Command Method", | |
| "line": 183, | |
| "sourceId": 139853707986368, | |
| "sourceURL": ":/ghostdriver/request_handlers/session_request_handler.js", | |
| "stack": "Invalid Command Method: Request => {\"headers\":{\"Acce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Zombie: GET http://localhost/INTEGRATION/master/index.php => 200 | |
| Zombie: GET http://localhost/INTEGRATION/master/lib/javascript.php/1386731529/lib/javascript-static.js => 200 | |
| Zombie: GET http://localhost/INTEGRATION/master/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js&rollup/1386731529/mcore-debug.js => 200 | |
| Zombie: Cannot read property 'className' of null TypeError: Cannot read property 'className' of null | |
| at http://localhost/INTEGRATION/master/index.php:3:14 | |
| in http://localhost/INTEGRATION/master/index.php | |
| moodle-core-dock-loader: Dock loader initialising | |
| Zombie: Cannot call method 'delegate' of null TypeError: Cannot call method 'delegate' of null | |
| at Object.initLoader (/INTEGRATION/master/theme/yui_combo.php:54714:55) | |
| at http://localhost/INTEGRATION/master/index.php:6:104 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Zombie: 301 => https://moodle.org/ | |
| Zombie: GET https://moodle.org/ => 200 | |
| Zombie: GET https://moodle.org/theme/javascript.php/moodleofficial/1385121489/footer => 200 | |
| Zombie: GET https://moodle.org/lib/javascript.php/1385121489/lib/javascript-static.js => 200 | |
| Zombie: GET https://moodle.org/theme/yui_combo.php?rollup/1385121489/mcore-min.js => 200 | |
| Zombie: GET https://moodle.org/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple-min.js => 200 | |
| Zombie: Cannot read property 'parentNode' of undefined TypeError: Cannot read property 'parentNode' of undefined | |
| at https://moodle.org/:10:58 | |
| at https://moodle.org/:11:5 | |
| in https://moodle.org/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var zombie = require("zombie"); | |
| zombie.visit("http://moodle.org", {debug: true}, function(err, browser) { | |
| if (err) { | |
| console.log(err.message); | |
| } else { | |
| console.log(browser.html()); | |
| } | |
| }); |