Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testing] Add Back method in the UITest lifecycle actions #19442

Merged
merged 1 commit into from Dec 15, 2023

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Add Back method in the UITest lifecycle actions.

@jsuarezruiz jsuarezruiz added the area-testing Unit tests, device tests label Dec 15, 2023
@jsuarezruiz jsuarezruiz requested a review from a team as a code owner December 15, 2023 12:20
/// Navigate back on the device.
/// </summary>
/// <param name="app">Represents the main gateway to interact with an app.</param>
public static void Back(this IApp app)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice that we already have a Back method in the UtilExtensions class. However, this method try to find the visual back button and click it. This use the physical back button on Android etc.

@rmarinho rmarinho merged commit c304992 into main Dec 15, 2023
47 checks passed
@rmarinho rmarinho deleted the uitest-back-action branch December 15, 2023 16:05
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing Unit tests, device tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants