Behat requirement not satisfied: blacklisted feature not found with Moodle 3.5.1

Behat requirement not satisfied: blacklisted feature not found with Moodle 3.5.1

дэргэд Virág Harangozó -
Хариу нийтлэлийн тоо: 5

Since moodle v3.5.1 has been realised  when I try to initialise behat with  

php admin/tool/behat/cli/init.php

I get the following error message:

Acceptance tests site installed

Behat requirement not satisfied: Blacklisted feature "{root_directory_path}/plugins/theme/{MY_THEME}/tests/behat/my_feature.feature" not found.

Error enabling site


So it seems to me the site is installed but something is wrong with blacklists... I don't use blacklist in my suite and I did not find that list which contains my theme feature files. (I've only found theme/boost/tests/behat/blacklist.json https://github.com/moodle/moodle/blob/master/theme/boost/tests/behat/blacklist.json )

Any ideas?

Үнэлгээний дундаж: -
Virág Harangozó-н хариуд

Re: Behat requirement not satisfied: blacklisted feature not found with Moodle 3.5.1

дэргэд Renaat Debleu -
Core developers зураг Particularly helpful Moodlers зураг Plugin developers зураг

Which files & folders are stored in the {root_directory_path}/plugins directory?

Because this folder is not a regular Moodle location, things can go wrong.

Renaat Debleu-н хариуд

Re: Behat requirement not satisfied: blacklisted feature not found with Moodle 3.5.1

дэргэд Virág Harangozó -
We store there our developed code, for example a new unique theme.
Virág Harangozó-н хариуд

Re: Behat requirement not satisfied: blacklisted feature not found with Moodle 3.5.1

дэргэд Renaat Debleu -
Core developers зураг Particularly helpful Moodlers зураг Plugin developers зураг

While Moodle ignores this folder, Behat does not. Behat is a php test framework and does not know the structure and directory conventions inside Moodle. Every php file inside your www directory is processed by Behat (and Apache).

Store your plugins as a zip or tar file and your errors will be gone.


Renaat Debleu-н хариуд

Re: Behat requirement not satisfied: blacklisted feature not found with Moodle 3.5.1

дэргэд Virág Harangozó -

I need everything from plugins folder to run my suite and moodle uses them too via links.

I didn't have any problem with it when I used moodle v3.5.0 but it would be better if I could use the newest version...

Virág Harangozó-н хариуд

Re: Behat requirement not satisfied: blacklisted feature not found with Moodle 3.5.1

дэргэд Virág Harangozó -

I think something wrong with symbolic link handling in the new Moodle version 3.5.1. I tried to copy directories from my plugins folder into vendor/moodle/moodle instead of creating symbolic links and it worked perfectly.