sam marshall
0ec20a18a4
MDL-64979 Behat: Add option to increase timeouts
2019-03-19 17:13:47 +00:00
David Monllaó
df51b94410
Merge branch 'MDL-64570-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE
2019-02-19 09:26:27 +01:00
Damyon Wiese
1e1ab33625
MDL-64570 accessibility: autocomplete user profile fields
...
Only if editing your own user details and not logged in as someone else.
2019-02-19 09:45:24 +08:00
David Monllaó
5af18c34e3
Merge branch 'MDL-63706_35' of git://github.com/markn86/moodle into MOODLE_35_STABLE
2019-02-12 09:46:39 +01:00
Andrew Nicols
e3138b870e
MDL-62514 behat: Rewrite handling of autocomplete
...
This includes a minor restructure of the autocomplete JS to make use of
promises and improve tracking of pending JS.
In particular it improves the way in which throttled text input is
handled to ensure that the behat does not continue until:
- typing is fully complete; and
- all possible ajax requests have been sent; and
- all possible ajax requests complete; and
- the suggestions are updated.
A number of conditions existed where behat would move on to the next
step too early in a race condition effect between Behat and Autocomplete.
2019-01-30 08:26:31 +08:00
Andrew Nicols
eb18ff3cf3
MDL-62514 behat: Add a wait_for_pending_js to form field
2019-01-30 08:26:31 +08:00
Toni Barberà Melià
365435182e
MDL-63706 tasks: added new config parameter. changes in cron execution
...
Backport of MDL-60514.
2019-01-22 17:14:21 +08:00
Andrew Nicols
866cabf59d
MDL-63607 behat: Remove theme from config whitelist
2018-10-10 12:06:42 +08:00
Mark Johnson
dc7c48a9d7
MDL-62408 behat: Correct PHPUNIT_TEST checks in behat_config_util
2018-05-28 02:14:08 +02:00
Bas Brands
3ec69c2ece
MDL-56511 theme_boost: Update to Bootstrap 4 stable
...
Behat fixes by David Monllao <davidm@moodle.com>
- Blocks
- Modals
- Messaging styling
- Breadcrumb
- Pagination
- Course & categories management
2018-04-18 09:31:53 +08:00
Shamim Rezaie
1b63ff10f9
MDL-61380 behat: Added autocomplete_suggestions name selector
2018-03-07 06:52:01 +11:00
Andrew Nicols
dd4ac3d2ce
MDL-60078 tool_usertours: Adjust accessibility checks for all themes
2018-01-25 12:45:56 +08:00
KietLy
26872a8006
MDL-60078 User tours accessibility: Tab should go back into the pop-up
2018-01-16 17:36:25 +07:00
Adrian Greeve
ab2095fb0f
MDL-60515 groups: Behat test for viewing the group description.
2017-11-01 15:24:38 +08:00
Jun Pataleta
a0245c6aa0
Merge branch 'MDL-60410_master' of git://github.com/dmonllao/moodle
2017-10-19 22:01:21 +13:00
Marina Glancy
2abb1e888c
MDL-60281 behat: remove unnecessary pre-check
...
These variables are strings, calling count() on string causes warning in PHP7.2
2017-10-16 09:37:19 +08:00
David Monllao
c5705b3a0f
MDL-60410 analytics: Whitelist pathtopython for testing
2017-10-13 13:44:47 +02:00
Eloy Lafuente (stronk7)
9376583e4f
Merge branch 'MDL-59883-master' of git://github.com/andrewnicols/moodle
2017-10-03 20:58:23 +02:00
Andrew Nicols
1e815600d8
MDL-59883 behat: Check aria-label for button content
2017-10-02 13:05:15 +08:00
Andrew Nicols
434d7869df
MDL-59882 behat: Add newer modal type to selectors
2017-10-02 12:43:16 +08:00
Dan Poltawski
c899bfb088
Merge branch 'MDL-59548-master' of git://github.com/damyon/moodle
2017-07-17 11:21:56 +01:00
Damyon Wiese
dda64b6f45
MDL-59548 behat: Helpers for autocomplete
...
Improve the helpers for autocomplete so that:
a) the set field for an auto complete will automatically close the suggestions list.
b) add a new helper to open the suggestions list
c) move the helper for clicking on an element in the suggestions list from tool_lp to core.
2017-07-17 11:10:15 +08:00
Mark Nielsen
b095b36c02
MDL-58948 behat: capture DriverException
...
Other drivers may throw a DriverException when the popup
or iframe disappears.
2017-06-28 14:34:08 -07:00
Mark Nielsen
f46a2dd913
MDL-58948 behat: Fix spin method when callback throws exception
...
Was preventing the sleep statements from running. This caused
steps to fail too early when it was just waiting for something
to change in the browser.
2017-06-28 14:33:51 -07:00
Mark Nielsen
b5be387556
MDL-58948 behat: conditionally execute MoodleSelenium2Driver
...
There is some specific code being executed that only exists
in the MoodleSelenium2Driver. Conditionally execute this
code to make it compatible with other Mink drivers.
2017-06-28 12:50:44 -07:00
Mark Nielsen
f5459099ae
MDL-58948 behat: catch ElementNotFoundException
...
Another valid exception that can be thrown from a Mink driver
is the ElementNotFoundException when an element has gone missing.
2017-06-28 12:50:11 -07:00
Mark Nielsen
5536bf4f22
MDL-58948 behat: return the result of the pending JS method
...
This increases compatibility with other Mink drivers,
in particular, the Chrome Mink Driver.
2017-06-28 11:20:49 -07:00
Andrew Nicols
1adae85448
Merge branch 'wip-mdl-58068' of https://github.com/rajeshtaneja/moodle
2017-04-10 11:54:09 +08:00
Damyon Wiese
8857c715d1
MDL-40759 icons: Behat fixes for font-awesome
2017-03-17 15:52:18 +08:00
gthomas2
01f2a530b7
MDL-58023 behat: Improve find_node_in_navigation function
2017-03-13 11:41:23 +00:00
Andrew Nicols
c742c61956
Merge branch 'wip-mdl-57940' of https://github.com/rajeshtaneja/moodle
2017-03-10 18:04:44 +00:00
gthomas2
353e78765a
MDL-58052 behat: user session function - use to edit current profile
2017-03-03 13:57:01 +00:00
Rajesh Taneja
db4b59fa03
MDL-58068 testing: Whitelist alternative_file_system_class in testing
...
Unit test and behat should be allowed to
run with alternative file system
2017-02-28 14:58:49 +08:00
Rajesh Taneja
26bf6d4ead
MDL-57940 behat: Allow behat parallel run to start with delay
...
Behat parallel run if executed together
then selenium might fail to launch browser
and timeout. It would be nice to have a
custom delay between the start of each process
2017-02-27 16:15:31 +08:00
Eloy Lafuente (stronk7)
5c73061bb9
Merge branch 'wip-mdl-57765' of https://github.com/rajeshtaneja/moodle
2017-02-21 23:53:39 +01:00
Rajesh Taneja
1dc320f140
MDL-57765 behat: Allow exact selectors to be used
...
In Blocks with boost theme selector to
find block with name is partial match
it might fail in some cases. It would
be nice to use exact match to avoid
unexpected failures
2017-01-30 11:37:34 +08:00
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
1d37f50ee0
MDL-54628 behat: Show parallel run command with proper rerun option
2017-01-23 10:37:19 +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
bd755b5317
MDL-57314 behat: Press enter after setting password unmask
2016-12-08 09:18:39 +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
3df6e801b5
MDL-57168 behat: Ensure drawer is open before clicking the link
2016-11-28 12:57:55 +08:00
Rajesh Taneja
8c35e49b37
MDL-56898 behat: No need to trigger error, as it sometimes hangs behat
2016-11-24 07:31:38 +08:00
Rajesh Taneja
45e862c4bd
MDL-56898 behat: Wait for pending JS after setting password
2016-11-22 11:20:30 +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
Rajesh Taneja
1bce723292
MDL-56898 behat: Try data reset if it fails because of pending process
2016-11-21 09:25:35 +08:00
Damyon Wiese
737b54fe9e
MDL-55215 lesson: JS is required for some lesson behats
...
Lesson is using the searchselector which only supports JS - so some
tests need javascript tags.
Also fixed support for filling a passwordunmask field with JS enabled by
id.
2016-11-07 14:23:46 +08:00
Rajesh Taneja
d87dac7e70
MDL-56006 behat: Load proper context by helper
2016-10-25 11:21:53 +08:00
Rajesh Taneja
4422ffc55e
MDL-56006 behat: Get proper feature and context for default theme
...
No matter which theme is default theme, overridden
context and blacklisted features should be respected
2016-10-25 10:15:20 +08:00
David Monllao
48f43096e0
Merge branch 'MDL-55074-master' of git://github.com/damyon/moodle
2016-10-24 12:33:51 +08:00