Closed Bug 1405825 Opened 8 years ago Closed 8 years ago

ID for menu item icons is not located in XCUITest

Categories

(Firefox for iOS :: Build & Test, defect, P1)

Other
iOS
defect

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 10.0 ---

People

(Reporter: njpark, Assigned: farhan)

References

Details

Attachments

(1 file)

55 bytes, text/x-github-pull-request
njpark
: review+
Details | Review
In Photon UI, the menu item icons still have acc. ID like "menu-Bookmark", "menu-RequestDesktopSite", but they are not found in XCUITest when called. For example, app.collectionViews.cells["menu-Bookmark"].tap() fails when the page option menu is open.
Flags: needinfo?(fpatel)
It's also possible that the hierachy is changed, so maybe no longer app.collectionViews.cells
Assignee: nobody → fpatel
Status: NEW → ASSIGNED
Priority: -- → P1
The menu icons are no longer in a collectionView. You can access them like this app.tables["Context Menu"].cells["menu-panel-TopSites"].tap()
Flags: needinfo?(fpatel)
Attached file Pull Request
Attachment #8918425 - Flags: review?(npark)
Attachment #8918425 - Flags: review?(npark) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Uplifted to v10.x
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: