Closed
Bug 1099094
Opened 10 years ago
Closed 9 years ago
Add documentation for session_id in start_session method
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: davehunt, Assigned: abhilashpanigrahi, Mentored)
Details
(Keywords: pi-marionette-docs, Whiteboard: [lang=py][good first bug])
Attachments
(1 file, 1 obsolete file)
1.34 KB,
patch
|
automatedtester
:
review+
|
Details | Diff | Splinter Review |
The session_id argument was recently added to start_session but it's not documented. See http://hg.mozilla.org/mozilla-central/file/64206634959a/testing/marionette/client/marionette/marionette.py#l822 On IRC David Burns (AutomatedTester) suggested: "unique identifier for the session. If no session id is passed in then one will be generated by the marionette-server" The documentation is published here: https://marionette-client.readthedocs.org/en/latest/#marionette.Marionette.start_session
Comment 1•10 years ago
|
||
To get everything setup for Marionette you will need to follow https://developer.mozilla.org/en-US/docs/Simple_Firefox_build
Updated•10 years ago
|
Keywords: ateam-marionette-docs
Comment 2•10 years ago
|
||
I would like to work on it.
Assignee | ||
Comment 3•9 years ago
|
||
I have attached a patch. It adds the comment for sesseion_id as suggested by David Burns.
Attachment #8541953 -
Flags: review?(dburns)
Comment 4•9 years ago
|
||
Comment on attachment 8541953 [details] [diff] [review] rev1 - Adds documentation for session_id in start_session method Review of attachment 8541953 [details] [diff] [review]: ----------------------------------------------------------------- 2 minor nits but otherwise perfect. If you could update the patch with those changes I will land it ASAP! Thanks for your help! (Just setting it to r- until your new patch comes) ::: testing/marionette/client/marionette/marionette.py @@ +809,5 @@ > > :param desired_capabilities: An optional dict of desired > capabilities. This is currently ignored. > :param timeout: Timeout in seconds for the server to be ready. > + :param session_id: unique identifier for the session. If no session id is could you remove the extra space after `is` @@ +810,5 @@ > :param desired_capabilities: An optional dict of desired > capabilities. This is currently ignored. > :param timeout: Timeout in seconds for the server to be ready. > + :param session_id: unique identifier for the session. If no session id is > + passed in then one will be generated by the marionette-server could you remove the hyphen between marionette and server please
Attachment #8541953 -
Flags: review?(dburns) → review-
Assignee | ||
Comment 5•9 years ago
|
||
Thank you David! I have made the required changes! Also could you explain what "setting it to -r" means? I am new and don't really understand. :(
Attachment #8544009 -
Flags: review?(dburns)
Updated•9 years ago
|
Attachment #8544009 -
Flags: review?(dburns) → review+
Comment 6•9 years ago
|
||
(In reply to Abhilash Panigrahi from comment #5) > Created attachment 8544009 [details] [diff] [review] > rev2 - Adds documentation for session_id in start_session method > > Thank you David! I have made the required changes! Also could you explain > what "setting it to -r" means? I am new and don't really understand. :( When we land something it needs r+ (review approved) but my initial review was r- (review denied) for a few nits (minor issues). I have now set it to r+ now and will get one of the sheriffs to land it! Great work!
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to David Burns :automatedtester from comment #6) > (In reply to Abhilash Panigrahi from comment #5) > > Created attachment 8544009 [details] [diff] [review] > > rev2 - Adds documentation for session_id in start_session method > > > > Thank you David! I have made the required changes! Also could you explain > > what "setting it to -r" means? I am new and don't really understand. :( > > When we land something it needs r+ (review approved) but my initial review > was r- (review denied) for a few nits (minor issues). I have now set it to > r+ now and will get one of the sheriffs to land it! Great work! Thanks a lot David! I'm glad I could help. I'm excited about contributing more to the community!
Comment 8•9 years ago
|
||
Comment on attachment 8541953 [details] [diff] [review] rev1 - Adds documentation for session_id in start_session method Please mark old patches as obsolete when attaching newer revisions :)
Attachment #8541953 -
Attachment is obsolete: true
Assignee | ||
Comment 9•9 years ago
|
||
I'm sorry I missed the checkbox! Will keep that in mind in future. Thanks :)
Comment 10•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d894b312beb2
Assignee: nobody → abhilashpanigrahi
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/d894b312beb2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•