Closed Bug 710472 Opened 13 years ago Closed 13 years ago

test_waitForPageLoad.js looks for something that doesnt exist

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

https://github.com/mozautomation/mozmill/blob/master/mutt/mutt/tests/js/test_waitForPageLoad.js#L13

Sure enough, there doesn't seem to be an ID getMeOutOfHereButton on
that page.

I vote we remove the line.

Really, test_waitForPageLoad.js should be broken up.  I'm happy to
file a more thorough bug on this separately if desired.
guessing this will be needed on 2.0 as well but for now i mostly need this on master
Attachment #581488 - Flags: review?(ahalberstadt)
Comment on attachment 581488 [details] [diff] [review]
disable url that doesn't have the element on it

Those pages have been moved to mozilla.org. Simply use http://www.mozilla.org/firefox/its-a-trap.html for the test.
Attachment #581488 - Flags: feedback-
Comment on attachment 581488 [details] [diff] [review]
disable url that doesn't have the element on it

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

I have no idea how this test was passing before, but the button seems to live at www.mozilla.com/firefox/its-a-trap.html and the id has changed to 'getMeOutButton'
Attachment #581488 - Flags: review?(ahalberstadt) → review-
This works for me, if it works for you I'll commit.
Attachment #581488 - Attachment is obsolete: true
(In reply to Andrew Halberstadt [:ahal] from comment #4)
> Created attachment 581642 [details] [diff] [review]
> Adjust button to correct url/id
> 
> This works for me, if it works for you I'll commit.

Yep wfm
master: https://github.com/mozautomation/mozmill/commit/3886197ad6817e65db543be1b0d077f26d3a130f
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: