-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[plugin-mobile-app] Add steps to interact with sliders #2377
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2377 +/- ##
=========================================
Coverage 96.36% 96.36%
- Complexity 5411 5420 +9
=========================================
Files 770 770
Lines 15531 15547 +16
Branches 1035 1037 +2
=========================================
+ Hits 14966 14982 +16
Misses 441 441
Partials 124 124
Continue to review full report at Codecov.
|
7366767
to
7f7b9fb
Compare
vividus-plugin-mobile-app/src/main/java/org/vividus/mobileapp/steps/ElementSteps.java
Outdated
Show resolved
Hide resolved
.../resources/properties/environment/system/saucelabs/mobile_app/android/environment.properties
Outdated
Show resolved
Hide resolved
Then `${sliderState}` is equal to `38.0` | ||
When I set value of Android slider located `accessibilityId(eighteenToSixtyFiveSlider)` to `2.0` | ||
When I save `${value-attribute}` attribute value of element located `accessibilityId(eighteenToSixtyFiveSliderPosition)` to scenario variable `sliderState` | ||
Then `${sliderState}` is equal to `20.0` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about moving repeating steps to scenario with ExamplesTable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanted to make scenarios more less generic, so if we decide to move the into some TMS there won't be a question how we get this particular screen, actually I wanted to move this logic into composites, what do you think?
When I set value of iOS slider located `accessibilityId(eighteenToSixtyFiveSlider)` to `80` percent | ||
When I save `${value-attribute}` attribute value of element located `accessibilityId(eighteenToSixtyFiveSliderPosition)` to scenario variable `sliderState` | ||
Then `${sliderState}` is greater than or equal to `52` | ||
Then `${sliderState}` is less than or equal to `58` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about moving repeating steps to scenario with ExamplesTable?
9918afc
to
359a153
Compare
Kudos, SonarCloud Quality Gate passed! |
No description provided.