[QA] trouble running browsers tests

Jon Robson jrobson at wikimedia.org
Fri Jan 23 00:21:09 UTC 2015


Forwarding to mobile-l and QA

Firstly running browser tests for those that do not know:
Go to MobileFrontend directory and run `make cucumber`
or cd into tests/browser and run  bundle exec cucumber features/*.feature

I'm assuming you are running `make cucumber` as interestingly it seems
that the very first test runs in the desktop site not mobile. (Fix @
https://gerrit.wikimedia.org/r/186320 - please someone merge)

It's essential the step "I am using the mobile site" is present in the
tests, as otherwise the test will run on the desktop site.

Does this solve your issue Ryan?



On Wed, Jan 21, 2015 at 12:49 PM, Ryan Kaldari <rkaldari at wikimedia.org> wrote:
> I recently tried running the browser tests locally which I hadn't done in a
> while. Unlike previously, all of the tests ran in desktop mode instead of
> mobile mode. I tried it both on vagrant and non-vagrant installs, but no
> luck. What's the trick to forcing the browser tests to run in mobile mode?
>
> Kaldari



More information about the QA mailing list