Closed
Bug 979657
Opened 10 years ago
Closed 10 years ago
[marionette-js-client] The documentation for the findElements function is not correct.
Categories
(Testing Graveyard :: JSMarionette, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evanxd, Assigned: promise82114)
Details
(Whiteboard: [good first bug][mentor=:evanxd])
Attachments
(1 file, 2 obsolete files)
It should say that return an Array, not Object. https://github.com/mozilla-b2g/marionette-js-client/blob/master/lib/marionette/element.js#L82
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → promise82114
Reporter | ||
Comment 1•10 years ago
|
||
Hi Jing-Kai, Do you have any problem for this bug? We could discuss here. Thanks.
Flags: needinfo?(promise82114)
Reporter | ||
Comment 2•10 years ago
|
||
Hi Jing-Kai, After you done the patch, please send a pull request to http://github.com/mozilla-b2g/gaia and send me a review request with following the https://speakerdeck.com/eragonj/all-about-firefox-os?slide=68 doc. Thanks.
Assignee | ||
Comment 3•10 years ago
|
||
I'm sorry. I done the homework of other subject before. My problem is that "I don't know what should I do for this bug ". Line 82 : @return {Object} self. It seem to modify that to " @return {Array} self. " . It's so easy and direct,so I'm not sure. I don't know what is your expectation.
Flags: needinfo?(promise82114)
Reporter | ||
Comment 4•10 years ago
|
||
Hi Jing.Kai, Got you. You just need to change the 82 line as `@return {Array} elements matched the query string.` Then follow Comment 2 to send pull request and review request. After this, do you already know how to fix this bug? Thanks.
Flags: needinfo?(promise82114)
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8389754 -
Flags: review?(evanxd)
Flags: needinfo?(promise82114)
Assignee | ||
Comment 6•10 years ago
|
||
Thanks Evan, I know what I should do. I already try to send pull request and review request.
Reporter | ||
Comment 7•10 years ago
|
||
Hi Jing-Kai, Nice Job! And I left a comment for your patch. Please update for that, then we could r+ and merge it. Thanks.
Flags: needinfo?(promise82114)
Assignee | ||
Comment 8•10 years ago
|
||
Sorry , I didn't do right before. I already update the line82. Please check. Thanks.
Attachment #8389844 -
Flags: review?(evanxd)
Reporter | ||
Updated•10 years ago
|
Attachment #8389754 -
Flags: review?(evanxd)
Reporter | ||
Comment 9•10 years ago
|
||
Hi Jing-Kia, Sorry, my point is that you should update you commit message as `Bug 979657 - Update the documentation for findElements method.`. And please make sure that only one commit in a pull request. Your pull request have two commits. Thanks.
Assignee | ||
Comment 10•10 years ago
|
||
Hi Evan I canceled old request,and then pulled new request that has one commit and true message. And I'm sorry. I just find out the comment 2 "please send a pull request to http://github.com/mozilla-b2g/gaia". It means "gaia", not "marionette-js-client". I don't know what should I pull request to "gaia". Do review request need two URL, one to the pull of "gaia" ,another to the pull of "marionette-js-client" ?
Reporter | ||
Comment 11•10 years ago
|
||
Hi Jing-Kai, I made a mistake. We should send a pull request with your this patch to https://github.com/mozilla-b2g/marionette-js-client. Really sorry. And please make sure that only one commit in a pull request and the commit message is `Bug 979657 - Update the documentation for findElements method.`. Go, go! Hope we could finish this bug before the afternoon. Thanks.
Reporter | ||
Updated•10 years ago
|
Attachment #8389844 -
Flags: review?(evanxd)
Reporter | ||
Comment 12•10 years ago
|
||
Do NOT send to http://github.com/mozilla-b2g/gaia. It is my bad.
Reporter | ||
Comment 13•10 years ago
|
||
Please refer to http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/en/ch05.html to change the commit message. Thanks.
Assignee | ||
Comment 14•10 years ago
|
||
Hi Evan Sorry that I'm in class until 16:00 today. I don't understand how delete commit. (Where use instruction,and how to choose commit that I want delete) So I pulled new request . But I will do my best to learn how to use git in next days.
Attachment #8389754 -
Attachment is obsolete: true
Attachment #8389844 -
Attachment is obsolete: true
Attachment #8391086 -
Flags: review?(evanxd)
Flags: needinfo?(promise82114)
Reporter | ||
Comment 15•10 years ago
|
||
Comment on attachment 8391086 [details] [review] new pull request Hi Jing-Kai, r+, nice shot! Thanks.
Attachment #8391086 -
Flags: review?(evanxd) → review+
Reporter | ||
Comment 16•10 years ago
|
||
master: https://github.com/mozilla-b2g/marionette-js-client/commit/49bdefc573a882fc81403d7cfbf2705ca0e6c067
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•