Changes to Behat in Moodle

Re: Changes to Behat in Moodle

ved Tim Hunt -
Antal besvarelser: 2
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers

Hi Andrew (or anyone else who knows), above you say "if you make use of the $CFG->behat_config configuration to specify additional browsers, then you will need to update it to use webdriver instead."

But then, also you mention the possibility of using headless browsers.

So, what would be your remmendation for what we should have in our config.php files, to get the best results? Thanks.

I svar til Tim Hunt

Re: Changes to Behat in Moodle

ved Andrew Lyons -
Billede af Core developers Billede af Moodle HQ Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers Billede af Testers

Hi Tim,

Sorry - I missed your question until you pointed it out in the developer channel earlier this week.

Personally I'd recommend that you use the browser configuration tool I've created because that should handle a wide range of browser configurations.

If you don't want to use that tool, then I'd recommend a basic configuration like the following: https://gist.github.com/andrewnicols/13139085dba8cefc1ad0302e48f22abe

Hope that helps,

Andrew

Gennemsnitsbedømmelse:Useful (1)
I svar til Andrew Lyons

Re: Changes to Behat in Moodle

ved Tim Hunt -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
Thanks Andrew. That seems to work.

And, since I can't find it documented anywhere, it seems that the last browser in the array is the one used by default if you don't specify on the command-line, so I re-ordered.