Last modified: 2014-03-21 10:36:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62512 - mediawiki_selenium Ruby gem should be able to start local and remote browsers with optional browser setup
mediawiki_selenium Ruby gem should be able to start local and remote browsers...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Željko Filipin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-10 21:55 UTC by Chris McMahon
Modified: 2014-03-21 10:36 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2014-03-10 21:55:23 UTC
In the MobileFrontend repo there is a test no_"javascript_site.feature"

That test uses this step in common_steps.rb: 

Given /^I am using user agent "(.+)"$/ do |user_agent|
  @user_agent = user_agent
  @browser = browser(environment, test_name(@scenario), user_agent)
  @browser.window.resize_to(480, 800)
  $session_id = @browser.driver.instance_variable_get(:@bridge).session_id
end

None of this works since browser creation has moved to shared code.  

We should make it possible to have Firefox honor spoofing a user agent string. (Note: no browser other than Firefox will spoof a user agent.)
Comment 1 Gerrit Notification Bot 2014-03-14 17:10:42 UTC
Change 118720 had a related patch set uploaded by Zfilipin:
WIP QA: Update mediawiki_selenium gem to honor optional useragent string per MobileFrontend

https://gerrit.wikimedia.org/r/118720
Comment 2 Gerrit Notification Bot 2014-03-14 17:12:19 UTC
Change 118721 had a related patch set uploaded by Zfilipin:
WIP Update mediawiki_selenium gem to honor optional useragent string per MobileFrontend

https://gerrit.wikimedia.org/r/118721
Comment 3 Gerrit Notification Bot 2014-03-18 12:26:24 UTC
Change 119270 had a related patch set uploaded by Zfilipin:
WIP mediawiki_selenium Ruby gem should be able to start local and remote browsers with optional browser setup

https://gerrit.wikimedia.org/r/119270
Comment 4 Gerrit Notification Bot 2014-03-18 12:27:31 UTC
Change 119271 had a related patch set uploaded by Zfilipin:
WIP mediawiki_selenium Ruby gem should be able to start local and remote browsers with optional browser setup

https://gerrit.wikimedia.org/r/119271
Comment 5 Gerrit Notification Bot 2014-03-18 12:29:30 UTC
Change 119272 had a related patch set uploaded by Zfilipin:
WIP mediawiki_selenium Ruby gem should be able to start local and remote browsers with optional browser setup

https://gerrit.wikimedia.org/r/119272
Comment 6 Gerrit Notification Bot 2014-03-18 12:31:46 UTC
Change 118721 abandoned by Zfilipin:
WIP Update mediawiki_selenium gem to honor optional useragent string per MobileFrontend

Reason:
better implementation in https://gerrit.wikimedia.org/r/#/c/119272/

https://gerrit.wikimedia.org/r/118721
Comment 7 Gerrit Notification Bot 2014-03-18 14:56:57 UTC
Change 119272 merged by Cmcmahon:
mediawiki_selenium Ruby gem should be able to start local and remote browsers with optional browser setup

https://gerrit.wikimedia.org/r/119272
Comment 8 Gerrit Notification Bot 2014-03-18 15:01:26 UTC
Change 118720 abandoned by Zfilipin:
WIP QA: Update mediawiki_selenium gem to honor optional useragent string per MobileFrontend

Reason:
Better implementation is at https://gerrit.wikimedia.org/r/#/c/119271

https://gerrit.wikimedia.org/r/118720
Comment 9 Željko Filipin 2014-03-18 15:37:57 UTC
As far as I am concerned, this is resolved. Please reopen if needed.
Comment 10 Gerrit Notification Bot 2014-03-19 15:08:43 UTC
Change 119487 had a related patch set uploaded by Zfilipin:
A cookie can optionally be set when starting the browser

https://gerrit.wikimedia.org/r/119487
Comment 11 Gerrit Notification Bot 2014-03-19 15:13:50 UTC
Change 119487 merged by Cmcmahon:
A cookie can optionally be set when starting the browser

https://gerrit.wikimedia.org/r/119487
Comment 12 Gerrit Notification Bot 2014-03-19 15:30:44 UTC
Change 119490 had a related patch set uploaded by Zfilipin:
Fixed setting a cookie when starting the browser.

https://gerrit.wikimedia.org/r/119490
Comment 13 Gerrit Notification Bot 2014-03-19 15:32:02 UTC
Change 119490 merged by jenkins-bot:
Fixed setting a cookie when starting the browser.

https://gerrit.wikimedia.org/r/119490
Comment 14 Gerrit Notification Bot 2014-03-19 15:37:22 UTC
Change 119271 merged by jenkins-bot:
QA: Using the new way of starting a custom browser

https://gerrit.wikimedia.org/r/119271
Comment 15 Gerrit Notification Bot 2014-03-21 10:36:08 UTC
Change 119270 merged by jenkins-bot:
Using the new way of starting a custom browser

https://gerrit.wikimedia.org/r/119270

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links