Ferran Recio
201a37e6aa
MDL-70909 behat: context freeze and not freeze steps
2021-04-22 15:50:55 +02:00
Adrian Greeve
00cb88c352
Merge branch 'MDL-65974-master-iteration03' of git://github.com/ferranrecio/moodle
2021-03-15 15:16:44 +08:00
Ferran Recio
1c839f9072
MDL-65974 course: move format_base to core_course\course_format
2021-03-11 17:36:34 +01:00
sam marshall
9ddb51b07e
MDL-45242 Testing: Generators for user profile fields
2021-03-08 09:20:17 +00:00
Jun Pataleta
28dadc2fb9
Merge branch 'MDL-47410-master' of git://github.com/andrewnicols/moodle
2021-02-18 11:21:23 +08:00
Andrew Nicols
d6e50d14d2
Merge branch 'MDL-64554-master' of git://github.com/andrewnicols/moodle
2021-02-18 10:21:55 +08:00
Andrew Nicols
708ae8aa0f
MDL-47410 behat: Perform exact match for date_time selectors
2021-02-18 09:34:45 +08:00
Marina Glancy
440073ff20
MDL-64554 user: make private files editor modal/ajax form
2021-02-17 18:06:57 +01:00
Andrew Nicols
ab024ac209
Merge branch 'MDL-47410-master' of git://github.com/mihailges/moodle
2021-02-17 09:34:22 +08:00
François Moreau
3776fbafb2
MDL-69762 core_contentbank: let users hide their content
2021-02-15 13:26:32 -05:00
Mihail Geshoski
afd1cf81b5
MDL-47410 behat: Create custom selector for the date and datetime fields
...
Creates a custom field selector to locate the requested date or datetime
form fields.
2021-02-11 11:49:18 +08:00
Andrew Nicols
793f131019
MDL-70734 behat: Increase the WebDriver Curl timeout
2021-01-31 18:21:41 +08:00
Andrew Nicols
bead2a1d96
MDL-66979 behat: Add a step to set a timeout factor for a test
2021-01-29 14:15:24 +08:00
Andrew Nicols
05fca85d8e
MDL-66979 behat: Warn about old behat.yml file location
2021-01-23 20:43:20 +08:00
Andrew Nicols
14a267e862
MDL-66979 behat: Rename and warn on old config
2021-01-22 14:52:12 +08:00
Andrew Nicols
a9bd31810f
MDL-66979 behat: Improve chromeOptions configuration
...
Simplify the chromeOptions configuration to improve readability.
2021-01-22 14:52:11 +08:00
Andrew Nicols
2a969d891a
MDL-66979 behat: iFrames must have a name for switchTo
...
The W3C WebDriver protocol supports switching of contexts using a named
context, and not the class asscoiated with that context.
2021-01-22 14:52:10 +08:00
Andrew Nicols
041b75f00a
MDL-66979 behat: Handle JS on elements better
...
This change introduces a new function to execute Javascript directly on
a node.
This should not, ordinarily, be used directly by steps, but may be
required in other parts of the Behat interaction.
2021-01-22 14:52:10 +08:00
Andrew Nicols
c96cde27ea
MDL-66979 behat: Rename selenium config to webdriver
...
The PHP WebDriver Mink Driver does not necessarily require Selenium. It
supports Selenium 3 upwards, and can be used directly with ChromeDriver,
EdgeDriver, SafariDriver, GeckoDriver, and others.
It therefore uses a slightly different configuraitno path.
2021-01-22 14:52:09 +08:00
Andrew Nicols
50b9866e54
MDL-66979 behat: Core updates for W3C WebDriver
...
This commit updates core Behat features to make use of the
php-webdriver/webdriver library instead of the legacy Instaclick
library.
Most of these changes relate to use of features of WebDriver which we
are required to use directly rather than through the Mink Driver.
2021-01-22 14:52:09 +08:00
Shamim Rezaie
77baa12643
MDL-64982 behat: Remove deprecated behat timeout constants
...
Behat timeout constants behat_base::TIMEOUT, EXTENDED_TIMEOUT, and
REDUCED_TIMEOUT, which were deprecated in 3.7, have been removed.
2020-12-04 17:07:06 +11:00
Andrew Nicols
fd71823ec7
MDL-67668 behat: Add inplace editable field type
...
This commit promotes the Inplace Editable field to a first-class form
element by introducing a new partial selector for inplace editable
fields, and teaching the field manager how to recognise these, then
introducing a new field type which can handle setting values for this
field.
2020-11-23 09:01:19 +08:00
Andrew Nicols
548da2ce97
MDL-67668 behat: Share behat_behat functionality with forms
...
Behat form fields are implemented in a way completely isolated from the
rest of the Behat Context system. Whereas regular step definitions have
access to execute steps, to call `find`, check for JS running, and other
related functionality, the Moodle implementation of a field type does
not have any access to this.
By moving the core functionality of behat_base to a new trait, and the
constants to a new interface, the functionality can also be used in
behat form fields in the same way as elsewhere.
2020-11-23 09:01:19 +08:00
Shamim Rezaie
b643c88682
MDL-68167 lib: Autocomplete selection to use listbox aria role
...
The aria-selected state cannot be used for the listitem role. The
autocomplete widget highly uses the aria-selected state internally.
2020-10-30 14:43:00 +11:00
Tim Hunt
3a048549de
MDL-69740 Behat init: more progress info at the end of the install
2020-10-02 23:15:50 +01:00
Andrew Nicols
41eaa09bbe
MDL-67687 behat: Make axe tests optional
2020-08-04 18:56:57 +08:00
Andrew Nicols
b49cb92e82
MDL-69068 behat: New step to support singular generators
2020-07-15 15:27:31 +08:00
Andrew Nicols
c7fb9fe55a
MDL-66568 behat: Reset theme CSS between scenarios
2020-06-17 07:46:23 +08:00
Andrew Nicols
ab5a81321a
MDL-66568 behat: Support building of themes for behat
2020-06-17 07:46:23 +08:00
Jun Pataleta
7fcdd9d983
Merge branch 'MDL-68612-master-integration' of git://github.com/mickhawkins/moodle
2020-06-03 15:39:36 +08:00
Michael Hawkins
67bf30a549
MDL-68612 user: Created behat step to set user course lastaccess data
2020-06-03 14:29:22 +08:00
Jun Pataleta
96dc92f099
Merge branch 'MDL-68353-master' of git://github.com/rezaies/moodle
2020-05-29 22:26:03 +08:00
Shamim Rezaie
58994fe8bb
MDL-68353 test: Update filemanager/filepicker xpath selector
2020-05-29 14:50:35 +10:00
Shamim Rezaie
9b6efe3aea
MDL-68353 test: get_field_locator to support custom field labels
2020-05-29 14:50:35 +10:00
Sara Arjona
20bbb473cf
Merge branch 'MDL-68667-master' of git://github.com/aanabit/moodle
2020-05-27 12:26:46 +02:00
Jun Pataleta
039fc86902
Merge branch 'MDL-68750-master' of git://github.com/andrewnicols/moodle
2020-05-27 11:03:54 +08:00
Andrew Nicols
8985c478ce
MDL-68750 behat: Correct dialogue selector
2020-05-26 12:55:29 +08:00
Victor Deniz Falcon
a735d4d1d4
Merge branch 'MDL-68252' of https://github.com/timhunt/moodle
2020-05-26 00:55:02 +01:00
Amaia Anabitarte
f9d2635f7f
MDL-68667 core_contentbank: Fix content generator to use filename
2020-05-25 18:44:53 +02:00
Eloy Lafuente (stronk7)
7ce7d21503
Merge branch 'MDL-66992-master' of https://github.com/tungthai/moodle
2020-05-21 00:48:30 +02:00
Mihail Geshoski
2e4e031e1c
MDL-67812 core_contentbank: Modify behat contentbank content generator
...
Enables the behat contentbank content generator to create content in
multiple contexts and optionaly create files on the filesystem
2020-05-18 10:12:14 +08:00
Tung Thai
15a00bead1
MDL-66992 core_badges: Add support to Open Badges 2.1
2020-05-17 20:01:55 +07:00
Amaia Anabitarte
ce1fe72dbd
MDL-68483 contentbank: adapt to existing behat generator
2020-05-12 16:50:46 +02:00
Amaia Anabitarte
cc58791b68
MDL-67790 core_contentbank: Behat contentbank content generator
2020-05-04 20:15:05 +02:00
Eloy Lafuente (stronk7)
c3e04b2c3c
MDL-68525 behat: chrome/switches caps not allowed in Chrome > 81
...
Now we need to use extra_capabilities/chromeOptions/args instead
The former was deprecated long ago, it seems that Chrome 81 has
stopped accepting it. The later seems to be working at very least
since Chrome 76 (haven't gone further back).
2020-04-28 12:31:58 +08:00
Tim Hunt
fa7431ce50
MDL-68252 question tags: fix tag editing for missingtype questions
2020-04-24 11:26:12 +01:00
Andrew Nicols
ae8d60c4a1
MDL-67827 behat: Add missing exception use
2020-03-06 12:59:38 +08:00
Andrew Nicols
afe13dfe9c
MDL-67965 behat: Get theme-specific context classes correctly
2020-02-14 10:15:49 +08:00
Amaia Anabitarte
ebe53aca51
MDL-65620 core_message: User preference generator
2019-12-04 09:49:21 +01:00
Tim Hunt
285c703685
MDL-48024 behat: allow plugins to have data generators
...
This extends the step
Given the following "users" exist:
to also support things like
Given the following "mod_quiz > user overrides" exist:
Instructions are on the behat_data_generators and
behat_generator_base classes.
2019-11-21 09:18:35 +08:00