Rajesh Taneja
36cc9f8e37
MDL-54628 behat: Set behat dir for each run under behat_dataroot
...
Before this patch behat_dataroot for parallel runs
were created at same level as ->behat_dataroot
After this patch, it will be created 1 level under
->behat_dataroot with BEHAT_PARALLEL_SITE_NAME
prefix and run number as suffix. This will allow
common files as test enabled and parallel run info
to be saved in parent directory and access it easily.
2017-01-30 08:51:53 +08:00
Rajesh Taneja
1024f6d1ec
MDL-57531 behat: Set noreplyaddress to valid address
...
noreplyaddress should be a valid address, else
it will not be saved. For behat we don't send
email, so set it to noreply@example.com , to
avoid failing validation on localhost
2017-01-05 14:40:16 +08:00
Rajesh Taneja
54348ea6d7
MDL-57232 behat: Add blocks in boost theme
...
Currently behat in boost depend on blocks
so make sure we have them.
2016-12-02 22:48:13 +08:00
Rajesh Taneja
65eb39c0b4
MDL-56898 behat: Increase autosavefrequency for behat tests
...
We don't need editor to autosave, as this cause
unwanted ajax request
2016-11-21 09:25:35 +08:00
Damyon Wiese
0f73f3ab42
MDL-55074 blocks: navigation and settings blocks optional
...
This is a theme config setting.
They are forced on for behat always.
2016-10-21 12:37:33 +08:00
Rajesh Taneja
e1ad3a959d
MDL-55924 behat: Add core features to specified theme's
2016-10-07 10:55:41 +08:00
Rajesh Taneja
b04ca8c8a1
MDL-55986 behat: Added option to optimize parallel runs by tags
...
run.php should only be used for running behat
before this patch if tags were passed, then behat.yml
was being re-written with features havings tags.
As this is not ideal, this option is now removed and
features with tags will be optimally split
by init.php when --optimize-run option is passed
2016-10-03 15:38:04 +08:00
Rajesh Taneja
a396321e44
MDL-55117 behat: Re-initialise to ensure modified config is not used
...
As behat cli process is 1 run for features
Any modification in will be reflected
in later runs on cli. In this case
- disabling enablebadges in block_badges.feature
- reflected while running cron in award_badges.feature
2016-09-14 10:46:19 +08:00
Rajesh Taneja
5aa9b5cee3
MDL-55072 behat: Added support for overriding theme tests
2016-08-24 08:57:15 +08:00
Dan Poltawski
5c602bf5bb
MDL-54553 behat: check statuscode of http request
2016-05-18 11:15:58 +01:00
Mark Nelson
e45aac5f8e
MDL-54019 core_behat: fixed typo
2016-05-02 18:09:39 +08:00
Rajesh Taneja
80c3b48409
MDL-52502 behat: Flush buffer to show differences
2016-04-07 09:29:50 +08:00
Rajesh Taneja
e891c8381e
MDL-52502 behat: Ensure php web and cli version is same
2016-04-05 11:46:44 +08:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
Ankit Agarwal
bbcd308340
MDL-48559 behat: Moving cronclionly to the installer
2015-02-17 14:33:56 +08:00
Tony Levi
064b8b7fe3
MDL-48517: behat: Fix reset ordering reversal (MDL-48302)
2014-12-07 23:58:24 +10:30
Rajesh Taneja
ef1d45b394
MDL-48302 behat: Reset cache before scenario
2014-11-21 10:22:56 +08:00
Jerome Mouneyrac
c78f19d153
MDL-43266 Testing sites are cleaning all test dataroot contents
2014-02-25 14:47:25 +08:00
Petr Skoda
9bb80d2005
MDL-43213 fix init regression and remove $checkphp parameter
2013-12-19 13:11:25 +08:00
Petr Škoda
60129d5d1f
MDL-43213 try to simplify behat config and init code
...
1/ always require 3 behat settings - $CFG->behat_wwwroot, $CFG->behat_dataroot and $CFG->behat_prefix
2/ cleanup init code
3/ do not require $CFG->wwwroot and $CFG->dataroot on test sites
4/ remove switch completely - the most confusing part for me
5/ print out behat_wwwwroot in init script so that you can test the test site manually
2013-12-13 14:03:04 +08:00
David Monllao
0e825e5dd4
MDL-43066 behat: Checking that the site is not already installed
2013-12-02 14:10:57 +08:00
David Monllao
a0e89a8fe3
MDL-42408 behat: Setting the site summary
2013-10-21 11:09:39 +08:00
Sam Hemelryk
33636b4040
Merge branch 'MDL-41587_master' of git://github.com/dmonllao/moodle
2013-09-11 08:52:52 +12:00
David Monllao
19f6703d8b
MDL-41587 tool_behat: Adding site name constant
2013-09-05 10:13:25 +08:00
Rajesh Taneja
bb78e249cd
MDL-39961 Events: Replace Legacy events - User
...
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
David Monllao
cfcbc34a61
MDL-39478 behat: New constant to detect when the test site is running
...
Also removing an unused var and method.
2013-05-07 11:12:01 +08:00
David Monllao
a34c0b1366
MDL-38953 behat: Disable email message processor
...
Disabled before storing database into
serialized files.
2013-04-08 11:46:13 +08:00
David Monllao
31c75894e0
MDL-38271 behat: Fixing typo
2013-03-06 15:07:36 +08:00
Eloy Lafuente (stronk7)
4afd580231
Merge branch 'MDL-38271_master' of git://github.com/dmonllao/moodle
2013-03-05 15:43:15 +01:00
David Monllao
6fe3986dec
MDL-38007 behat: Refining error texts
...
Also removing a couple of silly notices
2013-03-05 16:52:48 +08:00
David Monllao
e2eb40ea3c
MDL-38271 behat: Adds site shortname
2013-03-01 11:41:28 +08:00
David Monllao
fa7e4e2b6a
MDL-38007 behat: Changing check_behat_setup interface
2013-03-01 10:44:31 +08:00
David Monllao
475ac3f8ee
MDL-37046 behat: Changes from integration review
...
* RTL languages problem solved
* Fixed curl errno return
* Switch to behat test environment code more readable
2013-01-29 11:56:42 +08:00
David Monllao
096858ed83
MDL-37046 behat: Use behat test env
...
Moving from phpunit test environment
to a specific behat test environment
2013-01-29 08:40:38 +08:00