Closed Bug 1168533 Opened 9 years ago Closed 9 years ago

Add @skip_under_xvfb to test (not to class)

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: galgeek, Assigned: galgeek)

References

Details

Attachments

(1 file)

52 bytes, text/x-github-pull-request
whimboo
: review-
whimboo
: review+
Details | Review
The tests in functional/locationbar currently use the decorator @skip_under_xvfb applied to the class, not the test, and have been silently failing to run.

It would be good to check other tests for similar silent failures to run.
Attached file github pull request
This patch fixes up the functional/locationbar tests.

Maybe there are others?
Assignee: nobody → galgeek
Attachment #8610756 - Flags: review?(hskupin)
Comment on attachment 8610756 [details] [review]
github pull request

See my comment on thE PR.
Attachment #8610756 - Flags: review?(hskupin) → review-
Comment on attachment 8610756 [details] [review]
github pull request

Thanks for your feedback, Henrik!

I’ve sorted the locationbar manifest and commented out test_access_location_bar there for now. This patch passes travis.

I also did a quick grep for other tests using skips, and it looks like all others are already applied to the test, not the class.
Attachment #8610756 - Flags: review?(hskupin)
Comment on attachment 8610756 [details] [review]
github pull request

That one we can definitely land! Thanks Barbara. I will make a short edit of the manifest so we skip it correctly. Using comments is not the right way.
Attachment #8610756 - Flags: review?(hskupin) → review+
https://github.com/mozilla/firefox-ui-tests/commit/1d506585c1fd8ce9167c16b5473e1c1390aa44d3 (aurora)
https://github.com/mozilla/firefox-ui-tests/commit/42295df0bd634178e623b9f14e6a391259a1ac7e (beta)

mozilla-release and mozilla-esr38 branches got rebased against beta, so they have the same changeset.
Status: ASSIGNED → RESOLVED
Closed: 9 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: