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

Fix labels #1762

Merged
merged 6 commits into from
Jun 6, 2024
Merged

Fix labels #1762

merged 6 commits into from
Jun 6, 2024

Conversation

Fishbowler
Copy link
Contributor

@Fishbowler Fishbowler commented Jun 2, 2024

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

Comment on lines +115 to +126
- 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"
Copy link
Contributor Author

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.

@Fishbowler
Copy link
Contributor Author

Rebased.

data class AddMediaCommand(val mediaPaths: List<String>): Command {
data class AddMediaCommand(
val mediaPaths: List<String>,
val label: String?
Copy link
Collaborator

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?

Copy link
Contributor Author

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@amanjeetsingh150 amanjeetsingh150 merged commit 5f994da into mobile-dev-inc:main Jun 6, 2024
1 check passed
@Fishbowler Fishbowler deleted the fix-labels branch June 8, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Label doesn't work with Swipe
2 participants