https://bugzilla.wikimedia.org/show_bug.cgi?id=46920

--- Comment #3 from Ori Livneh <[email protected]> ---
(In reply to comment #2)
> Yes, we need at least Ruby 1.9.
> 
> http://www.ruby-lang.org/en/downloads/ says it is available in Debian/Ubuntu
> via "sudo apt-get install ruby1.9.1"

Yes, I can confirm that it is available on Ubuntu Precise, which is what the VM
is running.

All package installation and configuration is done via Puppet and organized
into modules, which encapsulate all the configurations and packages needed for
fitting the machine for some particular purpose. You can see the current set of
modules in puppet/modules.

Because Selenium tests require more than just ruby, it makes sense to add an
additional module, 'selenium', which will contain everything required for using
the VM for browser tests.

We don't need to worry just yet about whether the module should be loaded by
default or whether the user should explicit enable selenium test support. (I'm
in favor of making it part of the default, but I'm also worried about
protracting the initial setup even further, when it already takes quite a
while.) The work of puppetizing the various dependencies will be the same
regardless.

> Is there a way to control Firefox on the host machine from the virtual
> machine?
> Selenium tests need to drive _a_ browser. Firefox driver is the simplest to
> install, that is why I have asked for Firefox.

Yes, the guest VM can access the host as though the two computers were two
independent machines connected by a network link.

> If you want to keep mediawiki-vagrant VM small and clean, could we create a
> separate VM just for development of Selenium tests?

Puppet and Vagrant both provide abstractions for assigning to machines optional
roles. It'd be nice if you could merge any Puppet work you do back to the
MediaWiki-Vagrant repository. I think it'd be worthwhile to develop some common
interface for provisioning specialized MediaWiki instances. Labs does this
quite successfully.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to