Closed Bug 1167126 Opened 10 years ago Closed 10 years ago

Failure in testCheckAboutPrivateBrowsing due to ''about:blank' not found in 'http://127.0.0.1:62177/private_browsing/about.html?private-browsing'"

Categories

(Testing :: Firefox UI Tests, defect)

defect
Not set
normal

Tracking

(firefox38 fixed, firefox39 fixed, firefox40 fixed, firefox41 fixed, firefox-esr38 fixed)

RESOLVED FIXED
mozilla41
Tracking Status
firefox38 --- fixed
firefox39 --- fixed
firefox40 --- fixed
firefox41 --- fixed
firefox-esr38 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

This failure is only occurring on Windows. A check into the test shows me that it is using kinda outdated window handling methods. Maybe that is the cause here. I will update the test to use our current API, which also makes it way more stable. 00:01:33.044 File "c:\jenkins\workspace\mozilla-central_functional\firefox-ui-tests\firefox_ui_tests\functional\private_browsing\test_about_private_browsing.py", line 60, in testCheckAboutPrivateBrowsing 00:01:33.044 self.assertIn(url_bar.get_attribute('value'), target_url) 00:01:33.044 AssertionError: u'about:blank' not found in 'http://127.0.0.1:62177/private_browsing/about.html?private-browsing'
This PR makes the private browsing test way more robust!
Attachment #8608635 - Flags: review?(jmaher)
It looks like that the test with my patch applied is permanently failing on OS X. I will check if that is related to the accelkey usage.
The problem here was that the Firefox UI test did a different action than the Mozmill test. We should not use the global shortcut to open the private browsing window but really interacting with the button. I pushed an update which fixes that across platform.
Comment on attachment 8608635 [details] [review] github_pull_request.txt overall this is great and looks better. I have a few comments in the PR, more minor stuff that once we address them it is good to go.
Attachment #8608635 - Flags: review?(jmaher) → review+
PR got merged as: https://github.com/mozilla/firefox-ui-tests/commit/d73ed45db3157b9b6fbd70b973a0483545269da7 This changeset would need to backported to all the other branches.
Target Milestone: --- → Firefox 41
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Testing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: