David Monllao
051e9663f0
MDL-39634 behat: Removing unused arguments
...
Also adding deprecated methods.
2013-06-14 16:14:04 +08:00
Damyon Wiese
e750fcc4da
Merge branch 'MDL-39702_master' of git://github.com/dmonllao/moodle
...
Conflicts:
lib/testing/generator/repository_generator.php
2013-05-28 11:13:43 +08:00
Eloy Lafuente (stronk7)
cc4cbf67f0
Merge branch 'MDL-39795_master' of git://github.com/dmonllao/moodle
2013-05-28 00:02:58 +02:00
David Monllao
41eb672ba4
MDL-39686 behat: Add option to restart the browser
2013-05-27 15:03:25 +08:00
David Monllao
c29e3e248f
MDL-39702 generators: Adding MOODLE_INTERNAL
...
As discussed generators should include MOODLE_INTERNAL
as they make use of CFG and they don't make sense without
requiring config.php.
2013-05-27 14:52:53 +08:00
David Monllao
9a1f4922bd
MDL-39795 behat: Improving find-texts-in-page-contents performance
2013-05-27 14:24:20 +08:00
Eloy Lafuente (stronk7)
388b7d7d98
Merge branch 'MDL-39638_master' of git://github.com/dmonllao/moodle
2013-05-21 00:59:42 +02:00
Eloy Lafuente (stronk7)
5e1a48df97
Merge branch 'MDL-39717_master' of git://github.com/dmonllao/moodle
2013-05-21 00:44:05 +02:00
David Monllao
7daab4016d
MDL-39717 behat: Add info to experimental steps definitions
...
JS modal dialogs and drag & drop should be
considered experimental as the steps are not
working as expected in all OS/browser combinations.
2013-05-17 11:23:05 +08:00
David Monllao
c4509f8084
MDL-39638 behat: New step to collapse nodes based on the expand nodes
...
Also updating steps with a collapse behaviour.
2013-05-16 12:43:54 +08:00
David Monllao
870349ee67
MDL-39528 behat: Avoid modal window suite failure
...
Catching JS alerts/confirms exceptions and
auto-accepting them before each test run to
avoid chained scenarios failures.
2013-05-16 10:11:40 +08:00
David Monllao
1fb9715721
MDL-39051 behat: Fixing extra interactions
...
When the elements to interact with are not
available anymore.
2013-05-09 17:21:19 +08:00
David Monllao
217e8e59e5
MDL-39051 behat: Fix issue after closing popup windows
...
When a step closes a popup window the page DOM is not available
until we switch again to the main window; we should avoid exceptions
at framework level when hooking the after step process, this
includes the new exceptions catcher modification.
2013-05-09 17:21:06 +08:00
David Monllao
563514b10c
MDL-39051 behat: New general steps definitions
...
- To accept JS alerts
- To drag & drop elements
2013-05-09 14:27:41 +08: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
Eloy Lafuente (stronk7)
081bfdc5ff
Merge branch 'MDL-39348_master' of git://github.com/dmonllao/moodle
2013-05-06 01:49:51 +02:00
David Monllao
b32ca4caf9
MDL-39481 behat: Provide info about init.php
2013-05-03 12:04:42 +08:00
David Monllao
28abad1ab2
MDL-39348 behat: Compatibility with Safari and IE
...
Also changing from SeleniumDriver checking
to GoutteDriver as is less probably to change
goutte than to change selenium.
2013-05-03 10:43:06 +08:00
David Monllao
c59e52f561
MDL-39348 behat: Switching to wait which does not conflict with IE
...
Also solving bug with DOM ready, timeout
was set to self::TIMEOUT miliseconds not
seconds.
2013-05-03 10:16:44 +08:00
David Monllao
00ea74cb54
MDL-39348 behat: Chaining strings instead of splitting strings in lines
2013-05-03 10:16:44 +08:00
David Monllao
bbd802f7b7
MDL-38041 behat: Also fail tests if there is any other backtrace
2013-05-03 10:05:08 +08:00
David Monllao
90ed22ab70
MDL-38041 behat: Capturing also PHP debug messages
2013-05-03 10:05:08 +08:00
David Monllao
5f4b4e918d
MDL-38041 behat: Adding hook
...
Stops execution when the output contains
an exception, a debugging message or a PHP
debug message.
2013-05-03 10:05:08 +08:00
Eloy Lafuente (stronk7)
2f587fb334
Merge branch 'MDL-38828_master' of git://github.com/dmonllao/moodle
2013-04-11 16:44:47 +02:00
David Monllao
1303eb290f
MDL-38958 behat: Step definitions to interact with popup windows
2013-04-11 13:58:11 +08:00
David Monllao
e6d18d9d00
MDL-38952 behat: Adding no-JS compatibility
...
This step is widely used by JS scenarios,
with Javascript disabled this step fails tests
as tree nodes al already expanded; we can
reuse JS scenarios for no-JS tests skiping
this step in no-JS mode.
2013-04-08 12:24:23 +08:00
David Monllao
f9d3667e7b
MDL-38179 behat: Step definition to click on a table row element
2013-04-08 10:07:21 +08:00
David Monllao
b82e0c17fb
MDL-38691 behat: Fixing behat tests
2013-04-04 13:52:24 +08:00
Eloy Lafuente (stronk7)
6b117438b9
Merge branch 'MDL-38482_master' of git://github.com/dmonllao/moodle
2013-04-03 16:48:42 +02:00
Eloy Lafuente (stronk7)
57902e2738
Merge branch 'MDL-38619_master' of git://github.com/dmonllao/moodle
2013-04-03 13:33:16 +02:00
David Monllao
d2eca4cd0f
MDL-38482 behat: Data generator for system assigns
...
Chaning also the adapt_ prefix for non-direct
data generator uses to process_ because not all
of behat's data generators would have a lib/testing
data generator to share with phpunit tests.
2013-04-03 10:09:18 +08:00
David Monllao
a8a4849518
MDL-38482 behat: Allow frontpage course role assigns
...
There are no enrolment plugins at frontpage
course level.
2013-04-03 09:43:10 +08:00
David Monllao
c8619f33e1
MDL-38828 behat: Moving init before purge_cache
2013-04-02 11:24:00 +08:00
Eloy Lafuente (stronk7)
a5efbe6161
Merge branch 'MDL-38814_master' of git://github.com/dmonllao/moodle
2013-04-02 03:30:30 +02:00
Eloy Lafuente (stronk7)
51cae58998
Merge branch 'MDL-38689_master' of git://github.com/dmonllao/moodle
2013-04-02 02:41:44 +02:00
Eloy Lafuente (stronk7)
62eb5c466e
MDL-38547 behat: coding style fixes.
2013-04-01 22:40:50 +02:00
Eloy Lafuente (stronk7)
54e48dc32d
Merge branch 'MDL-38547_master' of git://github.com/dmonllao/moodle
2013-04-01 22:32:06 +02:00
Eloy Lafuente (stronk7)
0251a62500
Merge branch 'MDL-38486_master' of git://github.com/dmonllao/moodle
2013-04-01 22:17:12 +02:00
David Monllao
5bc64b0fab
MDL-38814 behat: Deleting old files
2013-04-01 12:22:43 +08:00
David Monllao
cd7ea8f0cc
MDL-38788 behat: Generic form elements interaction compatibile with JS disabled
2013-04-01 11:18:33 +08:00
David Monllao
60054942ec
MDL-38689 behat: Steps definitions to compare DOM nodes position inside the DOM
2013-03-28 14:41:41 +08:00
David Monllao
23349a73ae
MDL-38619 testing: Adapter to cohorts data generator
2013-03-28 11:17:14 +08:00
David Monllao
18c84063e3
MDL-38486 behat: Course's topics highlighting steps definitions
2013-03-27 15:46:03 +08:00
Eloy Lafuente (stronk7)
eb8a3eeaac
Merge branch 'MDL-38410_master' of git://github.com/dmonllao/moodle
2013-03-19 23:20:31 +01:00
David Monllao
5cde7298e3
MDL-38410 behat: Adding new form fields
2013-03-19 16:42:59 +08:00
David Monllao
fb624374bc
MDL-38410 behat: Step to select from radio inputs
2013-03-19 16:42:59 +08:00
David Monllao
ca4f33a79e
MDL-38547 behat: New generic steps definitions
...
For advanced users as specified in the step
description, they can be used to match any locator
using any selector type
2013-03-19 16:29:29 +08:00
Damyon Wiese
dcc5f0fe1e
Merge branch 'MDL-38049-master' of git://github.com/FMCorz/moodle
2013-03-19 11:52:51 +08:00
Frederic Massart
0b8bb3fe5f
MDL-38049 form: Collapsed sections are hidden on page load
2013-03-13 10:28:37 +08:00