Closed Bug 772835 Opened 12 years ago Closed 12 years ago

change get_window and get_windows to match Selenium

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla16

People

(Reporter: automatedtester, Assigned: automatedtester)

References

Details

Attachments

(1 file)

These need to be updated to match the Selenium API to allow easy swapping in
Assignee: nobody → dburns
If there are tests outside of the marionette repo that need updating let me know
Attachment #641166 - Flags: review?(jgriffin)
Comment on attachment 641166 [details] [diff] [review]
removing get_window

Review of attachment 641166 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, but it looks like you deleted a line by accident.  r+ with that fixed.

::: testing/marionette/client/marionette/tests/unit/test_getattr.py
@@ -30,5 @@
>          MarionetteTestCase.tearDown(self)
>  
>      def test_getAttribute(self):
>          el = self.marionette.execute_script("return window.document.getElementById('textInput');")
> -        found_el = self.marionette.find_element("id", "textInput")

Was this line deleted by mistake?
Attachment #641166 - Flags: review?(jgriffin) → review+
That line is not supposed to be there, it was a copy paste error when the test was originally created. I spoke to :mdas about it on IRC

http://logbot.glob.com.au/?c=mozilla%23ateam&s=11+Jul+2012&e=11+Jul+2012&b=1#c372310

If you want me to do this in a separate bug let me know. I appreciate it is not part of the work I am doing
No worries, if it's ok to remove it, I'm ok with it being in this patch.
https://hg.mozilla.org/mozilla-central/rev/f25cba119ef9
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: