Closed Bug 1018214 Opened 10 years ago Closed 10 years ago

Write Gaia-ui accessibility tests for the utility tray.

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yzen, Assigned: yzen)

References

Details

(Keywords: access)

Attachments

(1 file, 2 obsolete files)

      No description provided.
We need test for the utility tray visibility and the open and closed states.
Blocks: 994701
Summary: Write → Write Gaia-ui accessibility tests for the utility tray.
Attached file Github PR (obsolete) —
Attachment #8432706 - Flags: review?(zcampbell)
Component: Gaia → Gaia::UI Tests
Comment on attachment 8432706 [details] [review]
Github PR

Asking Bebe to review
Attachment #8432706 - Flags: review?(zcampbell) → review?(florin.strugariu)
Comment on attachment 8432706 [details] [review]
Github PR

There are some nit's there before this can be merged
Attachment #8432706 - Flags: review?(florin.strugariu) → review+
Comment on attachment 8432706 [details] [review]
Github PR

Asking for a quick re-review as I modified a11y_wheel_utility_tray_grippy method in utility_tray.py to account for transition when hiding the overlay.
Attachment #8432706 - Flags: review+ → review?(florin.strugariu)
Flags: needinfo?(florin.strugariu)
Attachment #8432706 - Flags: review?(florin.strugariu) → review+
Flags: needinfo?(florin.strugariu)
https://github.com/mozilla-b2g/gaia/commit/371cd00ddd0a8242744a810a932490889a2f3df8
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Unfortunately I've had to revert this for intermittent test failures:
https://tbpl.mozilla.org/php/getParsedLog.php?id=41214134&tree=B2g-Inbound

https://github.com/mozilla-b2g/gaia/commit/8689f61409f07ad6c7646299326993124a0c309a
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file Github PR (obsolete) —
Original pull request + it includes the pull request for bug 1021710 as a separate commit.
Attachment #8432706 - Attachment is obsolete: true
Attachment #8435947 - Flags: review?(zcampbell)
Comment on attachment 8435947 [details] [review]
Github PR

Viorela, can you take this review for me?

As it has failed with stability problems in the past it should be run 50-100 times locally to check its stability.

Thanks!
Attachment #8435947 - Flags: review?(zcampbell) → review?(viorela.ioia)
Comment on attachment 8435947 [details] [review]
Github PR

Looks good!
Attachment #8435947 - Flags: review?(viorela.ioia) → review+
https://github.com/mozilla-b2g/gaia/commit/fe4842aa5af8bdb432c10ad10b41d2c97a2894bc
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Reverted for causing test-failures on travis. You had a green travis PR, but maybe something changed before the run and landing?

https://github.com/mozilla-b2g/gaia/commit/259f517689d26e3b6099a97be5696453e27ac2ed


TEST-START test_a11y_utility_tray_visibility.py

test_a11y_utility_tray_visibility (test_a11y_utility_tray_visibility.TestUtilityTrayVisibilityAccessibility) ... FAIL

======================================================================

FAIL: None

----------------------------------------------------------------------

Traceback (most recent call last):

File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/marionette_test.py", line 170, in run

testMethod()

File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/accessibility/system/test_a11y_utility_tray_visibility.py", line 30, in test_a11y_utility_tray_visibility

self.assertFalse(self.accessibility.is_hidden(utility_tray_container))

TEST-UNEXPECTED-FAIL | test_a11y_utility_tray_visibility.py test_a11y_utility_tray_visibility.TestUtilityTrayVisibilityAccessibility.test_a11y_utility_tray_visibility | AssertionError: True is not false

----------------------------------------------------------------------

Ran 1 test in 11.388s

FAILED (failures=1)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment on attachment 8435947 [details] [review]
Github PR

Added accessibility.is_visible for more stability, travis looks good now:
https://travis-ci.org/mozilla-b2g/gaia/builds/27696529
Attachment #8435947 - Flags: review+ → review?(zcampbell)
Comment on attachment 8435947 [details] [review]
Github PR

Bebe will take this.
Attachment #8435947 - Flags: review?(zcampbell) → review?(florin.strugariu)
Attached file Github PR
Attachment #8435947 - Attachment is obsolete: true
Attachment #8435947 - Flags: review?(florin.strugariu)
Attachment #8443492 - Flags: review?(florin.strugariu)
Attachment #8443492 - Flags: review?(dave.hunt)
Attachment #8443492 - Flags: review?(florin.strugariu) → review+
As I'm not a JS expert I asked Dave to take a looks over the Js part of the pull
Attachment #8443492 - Flags: review?(dave.hunt) → review+
https://github.com/mozilla-b2g/gaia/commit/002c73b3de9ed5f217e6d24b50abec255da71de0
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: