74 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
6f982726fe MDL-73711 behat: Bump to Behat 3.10.x
Generated with php73, following the instructions at:

https://docs.moodle.org/dev/Composer

Note this also comes with a minor PHPUnit bump to 9.5.13.
2022-01-29 16:04:11 +01:00
Petr Skoda
2e95fabd95 MDL-73272 behat: move behat extension to core 2021-12-31 09:59:18 +13:00
Petr Skoda
8954a607fe MDL-73269 dev: add requirements to composer.json 2021-12-23 07:23:33 +13:00
Eloy Lafuente (stronk7)
72f838ad96 MDL-71622 behat: use own fork of friends-of-behat/mink-extension
Upstream behat/mink-extension isn't updated since 2018.

So we switch to friends-of-behat/mink-extension until
upstream situation is clarified.

But friends-of-behat/mink-extension has some PHP8 issues
that, at the time of writting this, have not been solved:

- https://github.com/FriendsOfBehat/MinkExtension/pull/9

So we are temporarily changing to one fork:

https://github.com/moodlehq/MinkExtension

Whenever those issues are solved by friends-of-beha or behat
we will change back to them and remove our fork.

Generated with composer 2.x and PHP 7.3
2021-05-27 19:42:14 +02:00
Eloy Lafuente (stronk7)
10c2aa7122 MDL-71036 phpunit: Bump to phpunit 9.5.x 2021-03-11 19:22:23 +01:00
Eloy Lafuente (stronk7)
d0def28ed5 MDL-70879 behat: Bump to Behat 3.8.x (required for php80) 2021-02-19 14:49:11 +01:00
Andrew Nicols
007389b214 MDL-66979 behat: Switch to new W3C Behat driver
This commit updates the composer dependencies to make use of the updated
version of moodlehq/moodle-behat-extension which depends upon the
php-webdriver/webdriver and relevant Mink WebDriver.
2021-01-22 14:52:09 +08:00
Eloy Lafuente (stronk7)
bdc3ad00c9 MDL-67673 phpunit: Bump to PHPUnit 8.5 and remove DBunit
This makes everything to break, but it's what we'll be fixing
in the next commits, heh. :-)

Generated with php72 (min version supported), following the
instructions @ https://docs.moodle.org/dev/Composer
2020-10-21 12:45:59 +02:00
Eloy Lafuente (stronk7)
e3da0ef75d MDL-69146 composer: bump to moodle-behat-extension 3.400.0
Generated following the instructions @:

https://docs.moodle.org/dev/Composer#How_to_prepare_and_submit_composer_changes

(using php72)

Note that here we are jumping to 3-digit branches (for all branches > 39),
exactly how we have done for moodle.git branches (310, 311, 400, 401...)
2020-10-02 15:06:58 +02:00
Eloy Lafuente (stronk7)
98cc4d0445 MDL-68445 behat: Bump to 3.6.x
composer.lock generated with PHP 7.2, following:

https://docs.moodle.org/dev/Composer#How_to_prepare_and_submit_composer_changes

Also, ensure Symfony/Process > 4.0 compatibility
(needed for parallel runs)
2020-04-24 15:57:09 +02:00
Eloy Lafuente (stronk7)
5d0b046594 MDL-67317 behat: Bump to 3.39.2 moodle-behat-extension
It comes with behat/mink 1.8.x that provides php74 compatibility.

lock file generated with php72 (min version supported by the branch)
2020-04-16 20:28:49 +02:00
Eloy Lafuente (stronk7)
78999d9c41 MDL-67416 composer: bump to moodle-behat-extension 3.39.1
that version already requires php72. The lock file has been
created using that php72 version.
2019-12-20 17:18:51 +01:00
Andrew Nicols
7e50ca7645 MDL-66945 composer: Update behat extension
(using php71 for this branch)

This uses a new version of the moodlehq-behat-extension which ensures
that a node is visible and in the view port before it is clicked on.

This resolves an issue with Firefox on Ubuntu 18.04 whereby the node is
only brought into the viewport instead of clicked on.
2019-10-28 13:14:27 +01:00
Eloy Lafuente (stronk7)
0b5990ab60 MDL-66184 core: Update composer to apply for php 7.1.0 as min
With behat extension v3.38.2 we started requiring php 7.1.0
(same requirement than core 3.8.x). This bumps all the components
in the lock file to suit that requirement.

Generated with php 7.1.x.
2019-08-27 00:42:30 +02:00
Mathew May
3373a429d4 MDL-50733 core: Update composer to updated behat-extension 2019-07-19 16:06:34 +02:00
Eloy Lafuente (stronk7)
9954f5391d MDL-65817 behat: switch to forked repo towards php73 compatibility
It seems that https://github.com/instaclick/php-webdriver/pull/91
is being ignored (in fact the repository itself doesn't show much
activity). So we have decided to fork it and apply any fix able
to keep our (non-marionette) runs working.

Hopefully, soon, the new W3C drivers will be supported by our
behat->mink stack... and we'll be able to move to it (from current
JSonwire drivers). So all this will be hostory.
2019-06-06 19:51:01 +02:00
Eloy Lafuente (stronk7)
d8ddd509e8 MDL-65810 behat: Update master to use 3.38.0 behat extension tag 2019-05-30 20:48:26 +02:00
Eloy Lafuente (stronk7)
be81130189 MDL-65204 phpunit: update composer to use phpunit 7.5.x
To generate a new composer.lock for a given Moodle branch:
- Remove composer.lock
- Remove vendor
- Remove composer caches:
      php composer.phar clearcache
- Using lower PHP version supported (7.1.x for Moodle 3.7), update:
      php composer.phar update

https://docs.moodle.org/dev/Composer#How_to_prepare_and_submit_composer_changes
2019-04-03 10:39:19 +08:00
Jun Pataleta
9b0cb96d42 MDL-64725 composer: Use lowercase for package name of dev dependencies 2019-02-04 09:37:35 +08:00
Eloy Lafuente (stronk7)
91165842db MDL-64409 behat: Update master to use 3.37.0 behat extension tag 2018-12-20 12:28:17 +01:00
Eloy Lafuente (stronk7)
9a89adcb98 MDL-62620 behat: Update master to use 3.36.0 behat extension tag 2018-06-01 12:16:04 +02:00
Eloy Lafuente (stronk7)
20f808165b MDL-61678 phpunit: Bump to current / latest 6.5.x before major release 2018-03-18 23:40:02 +01:00
Eloy Lafuente (stronk7)
b26bc628cf MDL-61269 composer: better license GPL-3.0-or-later
Source: https://spdx.org/licenses/
2018-02-04 19:38:32 +01:00
Eloy Lafuente (stronk7)
35925a2c06 MDL-61269 behat-extension: bump to fix some caps & defaults 2018-01-24 22:20:33 +01:00
Eloy Lafuente (stronk7)
2fdd9eed54 MDL-60904 behat: Update master to use 3.35.0 behat extension tag 2017-11-26 20:27:00 +01:00
Eloy Lafuente (stronk7)
1322351b92 MDL-60611 phpunit: Bump phpunit to 6.4 and travis to use PHP72 2017-11-02 23:45:21 +01:00
Eloy Lafuente (stronk7)
bc4067bfae MDL-60298 composer: move to guzzle ^6.3 towards PHP 7.2 support 2017-09-30 10:30:12 +02:00
Eloy Lafuente (stronk7)
6308dad828 MDL-59075 behat: Update master to use 3.34.0 behat extension tag 2017-05-30 09:45:40 +02:00
Andrew Nicols
16a34ae189 MDL-46375 core_files: Split parts of file_storage into new file system
This change moves all operations which deal with the fetching/updating, or
setting of files from the file_storage class into a new file_system class.

A new file_system can be specified in the config.php and used to replace
all relevant methods in order to move the file system component to an
alternative solution.
2017-02-14 08:42:28 +08:00
Rajesh Taneja
bb5671c21e
MDL-57700 behat: Updated behat to 3.3.0 and fixed exception 2017-01-20 11:01:50 +08:00
Rajesh Taneja
ac6cacdfb1
MDL-57344 behat: Update master to use 3.33.0 behat extension tag 2016-12-12 09:23:33 +08:00
Rajesh Taneja
e57c0f41ad
MDL-56860 behat: Fixed moodle_list format and printer description 2016-11-11 07:47:34 +08:00
Rajesh Taneja
5483ef5c7d
MDL-56248 phpunit: Update phpunit to 5.5.6 2016-10-07 07:18:38 +08:00
Rajesh Taneja
f5d3befb72
MDL-55769 behat: Point to moodle-behat-extension 3.32.3 2016-10-03 11:50:51 +08:00
Rajesh Taneja
39515ba566
MDL-55380 behat: Fixed shared stats definition
Stats definition was being shared between
progress and moodle_progress format which
was causing double counting. Now they both
have there own stats counter definitions
2016-08-12 10:17:00 +08:00
Rajesh Taneja
ef1d90480d MDL-55091 phpunit: Use latest phpunit 5.4.x 2016-07-21 07:08:46 +08:00
Andrew Nicols
2110dead4f Merge branch 'wip-mdl-48114' of https://github.com/rajeshtaneja/moodle 2016-07-04 12:18:34 +08:00
Rajesh Taneja
481a5ee517 MDL-54589 behat: Update composer to point to new tag 2016-06-21 06:31:42 +08:00
Rajesh Taneja
ac22c86bed MDL-54899 behat: Tag for MOODLE 32 version 2016-06-13 07:26:51 +08:00
Rajesh Taneja
06b2c25662 MDL-48114 core: Add meta information to composer.json 2016-06-10 06:29:16 +08:00
Rajesh Taneja
9914bd8b60 MDL-54100 behat: Catch undefined steps 2016-05-09 11:41:05 +08:00
Rajesh Taneja
ccceab9974 MDL-53381 behat: Pointing to 3.31.1 release tag. 2016-04-06 11:32:50 +08:00
Rajesh Taneja
e11c21452b MDL-46891 behat: Point to moodle-behat-extension 2016-03-11 10:51:17 +08:00
Rajesh Taneja
0583bbd1d6 MDL-51881 behat: updated composer pointing to new tag 2016-01-05 13:59:45 +08:00
rajesh Taneja
a6bd22b08c MDL-51660 behat: Upgarde behat and phpunit
1. Behat upgrade to 2.5.5
2. phpunit upgrade to 4.8.*
2015-10-06 10:53:01 +08:00
Tony Levi
b80b35d0fc MDL-50926 phpunit: Upgrade to phpunit 4.x 2015-08-11 02:35:11 +02:00
Mark Nielsen
a256eddbc3 MDL-50732 testing: Remove repositories from composer 2015-07-02 09:15:41 -07:00
Rajesh Taneja
bf32276058 MDL-50452 behat: Added tag for moodle 3.0 2015-06-03 11:50:11 +08:00
Rajesh Taneja
2ffaceb7a9 MDL-50116 behat: updated symfony/symfony version 2015-05-15 10:07:02 +08:00
Rajesh Taneja
db26bcf9e4 MDL-49432 behat: guzzle packages has been unified
Current version of goutte is pointing to old guzzle packages
guzzle/common, guzzle/stream, guzzle/parser and guzzle/http.
They have been unified to guzzlehttp/guzzle, so include it to avoid
using old packages
2015-03-20 12:00:17 +08:00