Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

1. Tim "pwd is a linux command which outputs the current directory."

Does it mean it's waiting for the user to enter a password???

2. To get a scenario to pause, add "And I pause" in the .feature file at the point you want.

Thanks, that works. And to resume, press Enter key in the console window, as instructed.

Very convenient when creating and testing an acceptance test "feature". I do not see any "And I pause" commands in moodle feature scripts. Does this mean that thay should not be used after initial testing of the feature script is over?

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Thanks Davo and Marcus! Yes, I'm glad I managed this after all... Just a couple of more things...

1.- Doc says: To run one specific feature file: vendor/bin/behat --config /Users/nicols/Sites/moodles/sm/moodledata_behat/behatrun/behat/behat.yml `pwd`/mod/forum/tests/behat/private_replies.feature

What does `pwd` stand for? How to use it?

2.- I have to adapt the examples given to my Windows environment and my localhost set up, which gives e.g. this request:
vendor/bin/behat --config "C:\wamp64\www\moodledata_behat\behatrun\behat/behat.yml" "C:\wamp64\www\htdocs\moodle\question\type\match\tests\behat/add.feature"
which works fine.

Is there a way to pause scenarios in the Acceptance test browser by pressing a key or what?

 

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Gemma,

This bug has been reported on the H5P forum here. A fix has apparently been created, but not yet available to general H5P users.

Hi Mia,

This is not a Moodle problem. You write "... the same issue DOES NOT happen on the same content uploaded to my account on h5p.org." Are you sure you have an account (paying) on h5p.org? or rather on h5p.com?

Average of ratings: Useful (1)