Last modified: 2014-01-29 15:03:16 UTC
Upon running a test in my local environment e.g. r$ bundle exec cucumber features/footer.feature Using the default profile... Success: created profile 'NearbyProfile /tmp/NearbyProfile/' at '/tmp/NearbyProfile/prefs.js' Firefox executes the test but then hangs with a modal dialog that says "Profile missing/Your Firefox profile cannot be loaded. It may be missing or inaccessible." This causes the next scenario not to run until the modal dialog is dismissed manually.
more information: * search.feature, external_links.feature and image_resolves.feature do not cause the error message in my local environment "export BROWSER_LABEL=chrome" has no effect. Even though the env var is set properly, the tests all run in Chrome regardless. Note that the Cloudbees builds of the current code seem to be fine: this test is clearly running Chrome and it fails for a real reason: https://wmf.ci.cloudbees.com/job/MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome/171/testReport/(root)/Upload%20image/Upload_image_file/ Finally, OS could be a factor: I am on Linux, but Jon Robson on a Mac fails to launch any browser at all, and gets no error message.
The culprit is likely the new Nearby code: https://gerrit.wikimedia.org/r/#/c/101129/
Change 104997 had a related patch set uploaded by Cmcmahon: Revert "QA: New browser test for "Nearby" page". This is causing several issues for Bug 59174 https://gerrit.wikimedia.org/r/104997
For linux, the issue is that the new code to create a profile for the browser only works on the first Scenario, and tests with more than one Scenario incur the "cannot be loaded" error. I'm not sure what the issue is on Mac, but Jon Robson reports that no browser is ever started.
Change 104997 merged by jenkins-bot: Revert "QA: New browser test for "Nearby" page". This is causing several issues for Bug 59174 https://gerrit.wikimedia.org/r/104997
Change 105253 had a related patch set uploaded by Cmcmahon: Revert "Revert "QA: New browser test for "Nearby" page". This is causing several issues for Bug 59174" https://gerrit.wikimedia.org/r/105253
Change 105253 abandoned by Cmcmahon: Revert "Revert "QA: New browser test for "Nearby" page". This is causing several issues for Bug 59174" Reason: Salvage operation over! https://gerrit.wikimedia.org/r/105253
Is this fixed?
Resolved by handling the Nearby profile as a special case