Commit Graph

16 Commits

Author SHA1 Message Date
Petr Skoda 7d4eb8991f MDL-45287 fix behat database reset between scenarios
We cannot find out if DB received any writes because behat
web access runs in different request.

This was affecting only scenarios without generators.
2014-04-28 17:14:09 +08:00
Petr Škoda 8c40a301cb MDL-44191 hack around MySQL 5.6 inability to lower auto_increment 2014-03-14 11:32:51 +08:00
Eloy Lafuente (stronk7) 96555937ad MDL-43266 testing: avoid assoc arrays for json
Last commit switched from raw arrays to associative
arrays. That leads to json_encode() to generate an
object instead of an array, ultimately leading to
problems with the rest of code expecting an array.

By using array_values() we are moving back to the
non-associative array.

Also, fix some file permissions.
2014-03-13 22:15:16 +01:00
David Monllao 322a47d526 MDL-43266 testing: Removing duplicated keys 2014-03-12 17:51:49 +08:00
Jerome Mouneyrac f411652f78 MDL-43266 Testing sites are cleaning all test dataroot contents 2014-02-25 14:49:14 +08:00
David Monllao 9826b73dfc MDL-43355 testing: Return the hash when HEAD points to a hash 2013-12-12 17:41:11 +08:00
David Monllao 378d11db3e MDL-42842 testing: Generalization of the site info 2013-11-20 13:50:05 +08:00
David Monllao e88d47b4a2 MDL-38352 behat: Removing extra double quotes escape 2013-03-11 12:52:12 +08:00
David Monllao 0a7f6a02eb MDL-37958 behat: Nasty strings in HTML
Nasty strings includes html entities and
non-breaking spaces followed by spaces which makes
very hard to find these strings in the DOM html,
this patch keeps the non-breaking spaces and all
the nasty characters, but leaves them isolated from
other regular spaces. It swaps the strings to HTML before
finding elements in the HTML that matches that contents.
2013-03-06 13:34:09 +08:00
David Monllao 110761997a MDL-37858 testing: Adding nasty strings generator 2013-02-15 13:38:14 +08:00
David Monllao b831d47925 MDL-37768 behat: Checking test site version before running tests 2013-02-08 17:14:26 +08:00
David Monllao 93245e952f MDL-37046 behat: Steps definitions loading 2013-01-29 08:40:36 +08:00
David Monllao 1150aeb896 MDL-37458 testing: Removing wrong comments 2013-01-23 13:23:08 +08:00
David Monllao 0ea35584ae MDL-37458 testing common methods generalization 2013-01-18 09:17:30 +08:00
David Monllao f822840223 MDL-37458 testing tests finder externalization 2013-01-17 15:15:27 +08:00
David Monllao 3f7211f45a MDL-37458 testing lock externalization 2013-01-16 13:43:25 +08:00