Skip to content

Commit

Permalink
Merge pull request #1 from mobile-dev-inc/main
Browse files Browse the repository at this point in the history
Update main branch to latest maestro version
  • Loading branch information
fitriahfebriani authored Oct 28, 2024
2 parents dc1c0fa + e957c5e commit 9da17b8
Show file tree
Hide file tree
Showing 340 changed files with 8,007 additions and 3,660 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copied from https://youtrack.jetbrains.com/issue/FL-15599/No-way-of-disabling-Java-Kotlin-wildcard-imports

[*.java]
ij_java_class_count_to_use_import_on_demand = 1024
ij_java_names_count_to_use_import_on_demand = 1024

[*.kt]
ij_kotlin_name_count_to_use_star_import = 1024
ij_kotlin_name_count_to_use_star_import_for_members = 1024
41 changes: 0 additions & 41 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

208 changes: 208 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
name: Report a bug
description: You have a problem with Maestro.
body:
- type: markdown
attributes:
value: >
### Thank you for using Maestro!
Before creating a new issue, please first search the [existing issues]
and make sure it hasn't been reported before.
If you are sure that you have found a bug that hasn't been reported yet,
or if our documentation doesn't have an answer to what you're looking
for, then please fill out this template.
---
[existing issues]: https://github.com/mobile-dev-inc/maestro
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: |
Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues and didn't find mine.
required: true
- type: textarea
validations:
required: true
attributes:
label: Steps to reproduce
description: >
Create a [minimal, reproducible example] that:
1. Demonstrates the problem
2. Explains how to reproduce the problem with detailed step-by-step
instructions
**In addition to the detailed step-by-step instructions**, you must include
information about the device you're encountering the issue on
(e.g. physical Android or iOS simulator), and the OS version
(e.g. Android 9, Android 14 with Play Services, or iOS 18).
**It's critical that you include your test flow file**. In general, try
to include as much additional details as possible to make it easier for
us to understand and fix the problem. Screenshots and videos are
welcome.
> [!TIP]
> If you're recording a video on Android, we recommend enabling these options to show taps and gestures:
> ```
> adb shell settings put system show_touches 1
> adb shell settings put system pointer_location 1
> ```
> [!WARNING]
> Issues that cannot be reproduced are much more likely to be closed.
[minimal, reproducible example]: https://stackoverflow.com/help/minimal-reproducible-example
placeholder: |
Example good reproduction steps:
1. Clone https://github.com/your_username/your_repo_with_bug and `cd` into it
2. Start Android emulator (Pixel 7, API 34, with Google Play)
3. Build app: `./gradlew :app:assembleDebug`
4. Run the problematic flow and see it fail: `maestro test .maestro/flow.yaml`
- type: textarea
validations:
required: true
attributes:
label: Actual results
description: Please explain what is happening.
- type: textarea
validations:
required: true
attributes:
label: Expected results
description: Please explain what you expect to happen.
- type: textarea
validations:
required: true
attributes:
label: About app
description: >
Include information about the app you're testing:
- Is this an open source or closed source project?
- If open source, please share link to the repo
- If closed source, please share app binary and/or an isolated, reproducible sample
- Is this a native or cross-platform app?
- Framework used to build the app
- e.g. UIKit, SwiftUI, Android Views, Compose, React Native, or NativeScript
- If applicable, version of the framework (e.g. Flutter 3.22.0, Compose 1.62.0)
- If applicable, minimum and target Android SDK/iOS version (e.g. minSdk 21, targetSdk 34)
placeholder: |
The info you enter here will make it easier to resolve your issue. For example:
- This is an open source app, available at https://github.com/wikimedia/wikipedia-ios
- It's a native iOS app. There is also an Android version, but the issue is only on iOS.
- It's built mainly with UIKit, minimum iOS deployment target is 13.0
- type: textarea
validations:
required: true
attributes:
label: About environment
description: |
Include information about machine you're running Maestro on:
- Java version (e.g. OpenJDK 17, Eclipse Temurin 8). To find it, run `java -version`
- OS and its version (e.g. macOS 13.1 Ventura, Ubuntu 24.04, Arch (btw))
- Processor architecture (x86_64, arm64)
placeholder: |
The info you enter here will make it easier to resolve your issue. For example:
- I'm on M1 MacBook Air, with macOS 14.5 Sonoma and Xcode 15.4.
- type: textarea
attributes:
label: Logs
description: >
Include the full logs of the command you're running. The zip files
created with `maestro bugreport` can be uploaded here as well.
Things to keep in mind:
- If you're running more than single command, include its logs in a
separate backticks block.
- If the logs are too large to be uploaded to Github, you may upload
them as a `txt` file or use online tools like https://pastebin.com and
share the link. Just make sure the link won't break in the future.
- **Do not upload screenshots of text**. Instead, use code blocks or the
above mentioned ways to upload logs.
- **Make sure the logs are well formatted**. If you post garbled logs, it
will make it harder for us to help you.
value: |
<details>
<summary>Logs</summary>
```
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->
```
</details>
- type: input
validations:
required: true
attributes:
label: Maestro version
description: >
Provide version of Maestro CLI where the problem occurs. Run
`maestro --version` to find out.
placeholder: 1.36.0
- type: dropdown
validations:
required: true
attributes:
label: How did you install Maestro?
options:
- install script (https://get.maestro.mobile.dev)
- Homebrew
- built from source (please include commit hash in the text area below)
- other (please specify in the text area below)
default: 0
- type: textarea
validations:
required: false
attributes:
label: Anything else?
description: >
Links? Other issues? StackOverflow threads? Anything that will give us
more context about the issue you are encountering will be helpful.
> [!TIP]
> You can attach images or log files by clicking this area to highlight it and then dragging files in.
- type: markdown
attributes:
value: >
Now that you've filled all the required information above, you're ready
to submit the issue.
**Please check what your issue looks like after creating it**. If it
contains garbled code and logs, please take some time to adjust it so
it's easier to parse.
**Try reading your issue as if you were seeing it for the first time**.
Does it read well? Is it easy to understand? Is the formatting correct?
If not, please improve it.
Thank you for helping us improve Maestro and keeping our issue tracker
in a good shape!
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Suggest a feature
description: You want to share a new idea to improve Maestro.
body:
- type: markdown
attributes:
value: >
### Thank you for using Maestro!
We can't wait to hear your idea!
First though, please search the [existing issues] to see if an issue
already exists for the feature you need. Maybe someone already did the
job for you and you don't need to fill this template.
---
If you are sure that the feature you want to suggest hasn't been
requested before, or if our documentation doesn't have an answer to what
you're looking for, then fill out the template below. Please bear in
mind that duplicates and unsufficiently described feature requests will
be closed.
[existing issues]: https://github.com/mobile-dev-inc/maestro/issues
- type: textarea
attributes:
label: Use case
description: >
Please tell us more about the use case you have that led to you wanting
this new feature.
Is your feature request related to a problem? Please give a clear and
concise description of what the problem is. This will help avoid the
[XY problem].
Describe the alternative solutions you've considered and the tradeoffs
they come with. The more context you can provide, the better.
[XY problem]: https://en.wikipedia.org/wiki/XY_problem
validations:
required: true
- type: textarea
attributes:
label: Proposal
description: >
Briefly but precisely describe what the new feature should look like
from the user perspective.
Consider attaching something showing what you are imagining:
* code samples (maybe you already know )
* API design ideas (e.g. of new YAML commands)
validations:
required: true
- type: textarea
validations:
required: false
attributes:
label: Anything else?
description: >
Links? Other issues? StackOverflow threads? Anything that will give us
more context about this feature request will be helpful.
> [!TIP]
> You can attach images or other files by clicking this area to highlight it and then dragging files in.
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## Proposed Changes
## Proposed changes

copilot:summary

## Testing

<!--- Please describe how you tested your changes. -->

## Issues Fixed
## Issues fixed
Loading

0 comments on commit 9da17b8

Please sign in to comment.