<div dir="ltr">Verified and merged<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 4:21 PM, Jon Robson <span dir="ltr"><<a href="mailto:jrobson@wikimedia.org" target="_blank">jrobson@wikimedia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Forwarding to mobile-l and QA<br>
<br>
Firstly running browser tests for those that do not know:<br>
Go to MobileFrontend directory and run `make cucumber`<br>
or cd into tests/browser and runĀ  bundle exec cucumber features/*.feature<br>
<br>
I'm assuming you are running `make cucumber` as interestingly it seems<br>
that the very first test runs in the desktop site not mobile. (Fix @<br>
<a href="https://gerrit.wikimedia.org/r/186320" target="_blank">https://gerrit.wikimedia.org/r/186320</a> - please someone merge)<br>
<br>
It's essential the step "I am using the mobile site" is present in the<br>
tests, as otherwise the test will run on the desktop site.<br>
<br>
Does this solve your issue Ryan?<br>
<div><div class="h5"><br>
<br>
<br>
On Wed, Jan 21, 2015 at 12:49 PM, Ryan Kaldari <<a href="mailto:rkaldari@wikimedia.org">rkaldari@wikimedia.org</a>> wrote:<br>
> I recently tried running the browser tests locally which I hadn't done in a<br>
> while. Unlike previously, all of the tests ran in desktop mode instead of<br>
> mobile mode. I tried it both on vagrant and non-vagrant installs, but no<br>
> luck. What's the trick to forcing the browser tests to run in mobile mode?<br>
><br>
> Kaldari<br>
<br>
</div></div>_______________________________________________<br>
Mobile-l mailing list<br>
<a href="mailto:Mobile-l@lists.wikimedia.org">Mobile-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/mobile-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/mobile-l</a><br>
</blockquote></div><br></div>