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 SetSliderValue method to UITest #19182

Merged
merged 4 commits into from Dec 5, 2023
Merged

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Add SetSliderValue method to UITest.

Reference: https://learn.microsoft.com/en-us/dotnet/api/xamarin.uitest.iapp.setslidervalue?view=xamarin-uitest-sdk

@jsuarezruiz jsuarezruiz added t/housekeeping ♻︎ area/testing Unit tests, device tests control-slider testing-legacy-ui-tests Issues/PRs that are associated with transitioning our legacy UI Tests to Appium labels Dec 4, 2023
@jsuarezruiz jsuarezruiz requested a review from a team as a code owner December 4, 2023 10:50
@ghost ghost added the area/controls 🎮 Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Dec 4, 2023
/// <param name="app">Represents the main gateway to interact with an app.</param>
/// <param name="marked">Marked selector of the Slider element to update.</param>
/// <param name="value">The value to set the Slider to.</param>
public static void SetSliderValue(this IApp app, string marked, double value)
Copy link
Contributor Author

Choose a reason for hiding this comment

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


[Test]
[Description("Set different slider values")]
public void SetSliderValue()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

uitest-slider

@jsuarezruiz jsuarezruiz requested review from jfversluis and removed request for PureWeen December 4, 2023 10:54
@jfversluis jfversluis merged commit b69956e into main Dec 5, 2023
47 checks passed
@jfversluis jfversluis deleted the uitest-slider-actions branch December 5, 2023 10:02
@jsuarezruiz jsuarezruiz self-assigned this Dec 12, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/controls 🎮 Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor area/testing Unit tests, device tests control-slider t/housekeeping ♻︎ testing-legacy-ui-tests Issues/PRs that are associated with transitioning our legacy UI Tests to Appium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants