Open
Bug 1762268
Opened 3 years ago
Updated 3 years ago
Add UIAutomator smoke tests
Categories
(GeckoView :: General, task, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: agi, Unassigned)
Details
(Whiteboard: [geckoview:2023?])
Fenix/AC use UIAutomator to run integration testing, we should add some smoke tests to make sure we don't completely break that use case.
Comment 1•3 years ago
|
||
For documentation's sake I managed to break Fenix's UI tests in two ways:
- The UI tests depend on accurate screen bounds for content elements since they synthesize finger taps when interacting with content. We had a bug in our bounds caching that needed to be addressed. That was fixed here: https://bugzilla.mozilla.org/show_bug.cgi?id=1760880
- The Fenix UI tests had a very high degree of specificity when looking for onscreen elements including their expected index in their parent node. When we enabled caching the accessibility tree slightly changed (whitespace nodes were added). This caused these selectors to fail. I think the Fenix tests were at fault here because those selectors were too unforgiving for slight tree changes. This was fixed here:
https://github.com/mozilla-mobile/fenix/issues/24490
Comment 2•3 years ago
|
||
P2
Irene suggests this would be a good intern project.
Severity: -- → N/A
Type: enhancement → task
Priority: -- → P2
Updated•3 years ago
|
Priority: P2 → P3
Whiteboard: [geckoview:2023?]
You need to log in
before you can comment on or make changes to this bug.
Description
•