Python Selenium RC Review: contribute_redirect

RESOLVED FIXED

Status

RESOLVED FIXED
8 years ago
7 months ago

People

(Reporter: tgavankar, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Created attachment 449372 [details]
contribute_redirect

Python test contribute_redirect for review

Done for bug 569560.
Attachment #449372 - Flags: review?(vish.mozilla)
Tanay,
You took care of the redirect part. But there's another major part of the bug: redirect in diff Fx languages.
If this part can be automated then it'll be awesome.

Suggestions:
You can change the accept-language in the Fx browser. The redirect to /
<locale>/kb/How+to+contribute happens according to the accept-language value.
Remember, the accept-language should only have 1 value (languague) at a time for the redirect to work for the proper locale.
(Reporter)

Comment 2

8 years ago
Selenium is unable to alter the accept-language value. You can do it manually via FF addons, but there is no way to do it using Selenium RC/Grid.

Any other suggestions?
Comment on attachment 449372 [details]
contribute_redirect

I guess we can't do anything about accept-languages via automation. So, please commit as it is.
Attachment #449372 - Flags: review?(vish.mozilla) → review+
(Reporter)

Comment 4

8 years ago
Committed to SVN
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED

Updated

7 months ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.