theappbusiness / TABTestKit

Library designed to make writing and maintaining automated tests for iOS applications. This includes automation of bio-metrics and controlling of mock servers
MIT License
59 stars 13 forks source link

Support Back Button menu #122

Open roger-tan opened 4 years ago

roger-tan commented 4 years ago

iOS 14 has a new behaviour for the back button. A long press to the back button reveals a menu and you can navigate to any previous screens pushed in the navigation controller.

demo-back-button

annapiktas commented 3 years ago

It looks like Back Button menu - UI context menu is already supported. The elements/items of the UI context menu conform to the Button and can be accessed by the title/ name therefore there is no need to create a new element to UI context menu nor for the elements.

Worth mention that the UI context menu elements/ items are available on the page even when UI context menu is not revealed/ opened. However there seem to be an issue on UI when long pressed reveals the UI context menu but make the elements not accessible. This seems to be UI issue only that might need to be investigated later.