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
Andrew Nicols
ca25005c69
MDL-53048 form: Rewrite passwordunmask
...
This version:
* should work with the Behat Goutte driver
* should not suffer from password autofill anxiety
* should allow unmasking (and masking) of a password
* should allow editing of passwords in either masked, or unmasked form
AMOS BEGIN
MOV [revealpassword,core_form],[passwordunmaskrevealhint,core_form]
AMOS END
2016-10-24 09:24:39 +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
Dan Poltawski
ad2eba780a
Merge branch 'MDL-55926-master-3' of git://github.com/ryanwyllie/moodle
2016-10-18 16:31:42 +01:00
Dan Poltawski
c0b1f18930
MDL-55924 behat: fix misleading comment
2016-10-18 13:24:08 +01:00
Ryan Wyllie
f05c1013de
MDL-55926 message: add behat tests for message ui
2016-10-18 00:26:21 +00:00
Rajesh Taneja
e1ad3a959d
MDL-55924 behat: Add core features to specified theme's
2016-10-07 10:55:41 +08:00
Rajesh Taneja
95e1d5e50f
MDL-55746 behat: Support blacklist theme features by tags
2016-10-07 09:05:26 +08:00
Rajesh Taneja
904306389f
MDL-55713 behat: Include named and partial behat selector files
2016-10-06 07:55:51 +08:00
Andrew Nicols
d98217550b
MDL-55713 behat: Bad rebase conflict resolution fix
2016-10-05 15:19:07 +08:00
Andrew Nicols
4187b3e521
MDL-55713 behat: Correct all references to selectortype
2016-10-05 14:10:26 +08:00
Andrew Nicols
b31984d5a2
MDL-55713
2016-10-05 11:46:49 +08:00
Andrew Nicols
6ee51d010f
MDL-55713 behat: Correct copy/paste error
2016-10-05 11:04:56 +08:00
Eloy Lafuente (stronk7)
b976e22a7e
Merge branch 'MDL-55713-master-3' of git://github.com/andrewnicols/moodle
2016-10-05 00:34:01 +02:00