PushedPage
public protocol PushedPage : BaseAppPageProtocol
Page object protocol describing behaviour of pushed.
Default implementation use back
as accessibilityIdentifier
.
Example:
class AboutTheAppPage: BaseAppPage, PushedPage {}
let aboutTheAppPage = AboutTheAppPage(in: containerView)
aboutTheAppPage.goBack()
Requires
It is required to usebackas
accessibilityIdentifier
in custom back button in the application to work with default implementation of this protocol.
-
backButton
Default implementationBack button element.
Default Implementation
Back button.
Note
The button withback
asaccessibilityIdentifier
is used.Declaration
Swift
var backButton: XCUIElement { get }