-
Notifications
You must be signed in to change notification settings - Fork 317
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
Fix labels #1762
Fix labels #1762
Conversation
- swipe: | ||
direction: DOWN | ||
label: "Swipe down a bit" | ||
- addMedia: | ||
files: | ||
- "023_image.png" | ||
label: "Add a picture to the device" | ||
- setAirplaneMode: | ||
value: enabled | ||
label: "Turn on airplane mode for testing" | ||
- toggleAirplaneMode: | ||
label: "Toggle airplane mode for testing" |
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.
These are all of the labelled commands that would otherwise have been outliers.
I've been through and checked that all of the other commands are covered by this test.
Rebased. |
data class AddMediaCommand(val mediaPaths: List<String>): Command { | ||
data class AddMediaCommand( | ||
val mediaPaths: List<String>, | ||
val label: String? |
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.
Shouldn't this be having a default valu?
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.
To default it explicitly to null?
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.
Done
Proposed Changes
Adds labels to the Swipe command, as well as the new addMedia and unreleased airplane mode commands.
Testing
Run all the unit / integration tests, as well as adding new contributions.
Issues Fixed
Fixes #1761