moodle-plugin-ci icon indicating copy to clipboard operation
moodle-plugin-ci copied to clipboard

Use selenium-firefox docker image version 2.53.1

Open kabalin opened this issue 5 years ago • 4 comments

Match selenium-firefox version used in https://github.com/moodlehq/moodle-docker (using version 3 will cause failure).

This also adds moodle dir mount to selenium container to allow running file upload tests (https://github.com/blackboard-open-source/moodle-plugin-ci/issues/110#issuecomment-597576207).

Also remove PROFILE env var in .travis.yml to prevent assumption that changing its value to firefox will work (it won't if version remains 3).

kabalin avatar May 17 '20 22:05 kabalin

This change didn't work for me: -v $HOME/build/moodle:$HOME/build/moodle

I got this error:

In ProcessHelper.php line 97:

The command "git clone --depth=1 --branch MOODLE_38_STABLE git://github.com /moodle/moodle.git moodle" failed.

Exit Code: 1(General error)

Working directory: /home/travis/build

Output:

Error Output:

Cloning into 'moodle'... /home/travis/build/moodle/.git: Permission denied

This was using a copy of .travis.dist.yml with NVM changed to 14.0 in addition to the changes here.

The change from Firefox 3 to 2.5.3.1 did get Behat working again for me, though.

james-cnz avatar May 19 '20 01:05 james-cnz

Thanks @james-cnz, let me trigger travis and see myself. I might be that we need to start selenium docker instance after moodle installation.

kabalin avatar May 19 '20 13:05 kabalin

It works for me now, thanks.

james-cnz avatar May 20 '20 03:05 james-cnz

Thanks for verifying @james-cnz!

@dvdcastro looks like Travis is no longer enabled on this repo :(

kabalin avatar May 20 '20 08:05 kabalin