Commit Graph

63 Commits

Author SHA1 Message Date
John Okely d025f8a226 MDL-44520 behat: Add behat selectors for section, activity 2015-02-06 10:35:05 +08:00
Eloy Lafuente (stronk7) e5f2f54920 MDL-48741 behat: add new moodle_list formatter (rerun compatible) 2015-01-16 03:15:43 +01:00
Sam Hemelryk dd818b9b17 Merge branch 'mdl48517_27' of https://github.com/tlevi/moodle into MOODLE_27_STABLE 2014-12-09 15:15:56 +13:00
Tony Levi 8ca8a16886 MDL-48517: behat: Fix reset ordering reversal (MDL-48302) 2014-12-08 13:07:03 +10:30
Tim Hunt 94b0ebcec6 MDL-48373 behat: new container selector for list items. 2014-12-05 12:19:16 +00:00
Rajesh Taneja b525a13b9e MDL-48302 behat: Reset cache before scenario 2014-11-21 10:43:54 +08:00
Rajesh Taneja c8121c53d1 MDL-46817 behat: Table selector support css
Previously table selector supported id and caption only.
But in few cases we don't have proper id, so added support
for css
2014-08-15 13:17:06 +08:00
Marina Glancy eebd7f8964 MDL-45320 behat: change to block selector 2014-05-21 09:32:18 +12:00
David Monllao e342149a37 MDL-45294 behat: Updating block references to aria label value
Also improving moodle selectors xpath expressions
readability.
2014-05-21 09:31:50 +12:00
David Monllao 9054cd2a25 MDL-45294 behat: Supporting an aria-label as a block ref 2014-05-21 09:31:46 +12:00
Dan Poltawski 63476b0f6f Merge branch 'MDL-44619_master' of git://github.com/dmonllao/moodle 2014-04-17 17:02:04 +08:00
David Monllao 25a49eb660 MDL-44621 behat: Adding text selector
Same behaviour than I should see step,
it looks for the text in the node + descendants,
but, to get the lower level match discards the
nodes with children that also contains the
same text.
2014-04-15 20:13:44 +07:00
David Monllao af4830a257 MDL-44619 behat: Converting MDLQA-8
In a standard forum, students can start discussions
add replies and attach files to their posts.
2014-04-09 19:34:11 +07:00
David Monllao 020cf9aeef MDL-44619 behat: Helper to init contexts outside behat 2014-04-09 15:12:09 +07:00
sam marshall 07ba4070e4 MDL-44837 Behat: 'dialogue' selector only works for confirm dialogues
The dialogue selector in Behat (used only in one place) didn't work for
other types of standard Moodle notification dialogue.
2014-03-27 16:45:04 +00:00
Eloy Lafuente (stronk7) 1700bec3c6 Merge branch 'MDL-43266_master-last-fixes' of git://github.com/dmonllao/moodle
Conflicts:
	lib/phpunit/classes/util.php
2014-03-13 19:12:25 +01:00
David Monllao 370e88d4fe MDL-44440 behat: Other fixes to make clean work properly
- Update the step to follow links inside a treeview
  to work also when JS is disabled.
- Make regions accept header and footer.
- Change some locators refering to non-clean compatible
  regions.
- Restricting click to the table row in forum tracking
  because seems to conflict with the navigation bar when
  using narrow window sizes.
2014-03-07 14:27:52 +08:00
Jerome Mouneyrac c78f19d153 MDL-43266 Testing sites are cleaning all test dataroot contents 2014-02-25 14:47:25 +08:00
David Monllao e39a7f886e MDL-42404 behat: Adding yui-dialog to dialogue selector 2014-02-12 15:42:05 +08:00
David Monllao 7e3f5e79d0 MDL-43450 behat: Checking the ->behat_* vars contents before showing the steps list 2014-01-29 14:28:37 +08:00
David Monllao b8c4d91ca0 MDL-43450 behat: Improving error messages 2014-01-24 16:45:27 +08:00
David Monllao ff7139d6cb MDL-43461 testing: Avoid switching to .bat files when running MinGW
MinGW can not execute .bat files (http://sourceforge.net/p/mingw/bugs/1902)
so we should not switch to .bat files when running MinGW.
2014-01-14 13:11:07 +08:00
David Monllao 19a40b1468 MDL-43461 behat: Using linux-style directory separators when using cygwin 2014-01-14 13:10:40 +08:00
Petr Skoda 9bb80d2005 MDL-43213 fix init regression and remove $checkphp parameter 2013-12-19 13:11:25 +08:00
David Monllao 48ca887cc1 MDL-43235 behat: Remove notice about undeclared var 2013-12-18 16:02:02 +08:00
David Monllao e227cfe0e3 MDL-43235 behat: Ensure that behat_config_manager::get_config_file_contents() has always a behat_wwwroot 2013-12-13 14:20:03 +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
Sam Hemelryk e3f7ac09e7 Merge branch 'MDL-43087a' of https://github.com/srynot4sale/moodle
Conflicts:
	config-dist.php
2013-12-10 08:36:39 +13:00
Sam Hemelryk 5d288a5dbb Merge branch 'MDL-41592_master' of https://github.com/dmonllao/moodle 2013-12-04 11:52:12 +13:00
Aaron Barnes ddb0a1b0e5 MDL-43087 testing: ability to load features from additional paths 2013-12-03 22:11:26 +13:00
Damyon Wiese 23a05a1b9a Merge branch 'MDL-42627_master' of git://github.com/dmonllao/moodle 2013-12-03 16:15:53 +08:00
David Monllao 7f7a91e4ce MDL-41592 behat: Config settings more flexible
Adding the option to just set ->behat_wwwroot to
allow switching to the behat test site.
2013-12-02 14:18:10 +08:00
Aaron Barnes cc2691a7bb MDL-41592 behat: Allow alt wwwroot to be set for acceptance testing
To set add $CFG->behat_wwwroot = 'http://alturl'; in your config.php
2013-12-02 14:18:10 +08:00
David Monllao c3a40deab7 MDL-42627 behat: New steps definitions class for deprecated steps 2013-12-02 14:13:17 +08:00
David Monllao 0e825e5dd4 MDL-43066 behat: Checking that the site is not already installed 2013-12-02 14:10:57 +08:00
Dan Poltawski eeb6b7847b Merge branch 'MDL-42942_master' of git://github.com/dmonllao/moodle 2013-11-27 11:32:23 +08:00
David Monllao 5df9e40cec MDL-40741 behat: Changing xpaths for clean theme
Keeps compatibility with standard theme.
2013-11-26 11:41:13 +08:00
David Monllao e2d7379682 MDL-42842 behat: Adding a new formatter
Based on ProgressFormatter, the site info
will be displayed when the suite begins.
2013-11-26 10:48:58 +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
Eloy Lafuente (stronk7) 58c80b03a8 Merge branch 'MDL-40566_master' of git://github.com/dmonllao/moodle 2013-09-03 20:38:53 +02:00
David Monllao 17344d4c8f MDL-40566 behat: Moving from behat_command to behat_selectors 2013-09-03 10:28:42 +08:00
David Monllao ecf5b898e2 MDL-40566 behat: Adding behat_selectors
Class that manages moodle selectors transition
to behat default selectors.
2013-09-03 10:28:41 +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 cb9c703cca MDL-38857 tool_behat: Adding info about the tool purpose 2013-07-10 12:07:11 +02:00
Sam Hemelryk b3a9bf23f5 Merge branch 'MDL-39481_master' of git://github.com/dmonllao/moodle 2013-05-08 09:54:13 +12: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 b32ca4caf9 MDL-39481 behat: Provide info about init.php 2013-05-03 12:04:42 +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