Skip to content

Commit

Permalink
GITBOOK-316: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurSav authored and gitbook-bot committed May 18, 2023
1 parent 3cdc6d7 commit 6a502bb
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
* [Frequently Asked Questions](troubleshooting/frequently-asked-questions.md)
* [Bug Report](troubleshooting/bug-report.md)
* [Rollback Maestro](troubleshooting/rollback-maestro.md)
* [Debug Output](troubleshooting/debug-output.md)

## Community

Expand Down
2 changes: 1 addition & 1 deletion getting-started/build-and-install-your-app/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Maestro currently supports iOS Simulator builds (**.app**), AppStore distribution device builds (**.ipa**) are not currently supported. The easiest way to get an app installed on the simulator is by building and running it from Xcode (make sure that simulator target is selected):

<figure><img src="../../.gitbook/assets/Screenshot 2023-02-15 at 13.46.55 (2).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../.gitbook/assets/Screenshot 2023-02-15 at 13.46.55.png" alt=""><figcaption></figcaption></figure>

## Default build location

Expand Down
6 changes: 5 additions & 1 deletion platform-support/ios-swiftui.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ In addition to iOS UIKit apps it is possible to write maestro flows for the apps

First lets start with some basic flow for FoodTruck app. Almost every SwiftUI native element is identifiable with maestro studio. For instance here is how the first step of [first\_flow.yaml](https://github.com/artem888/sample-food-truck/blob/main/.mobiledev/first\_flow.yaml) was generated:

<figure><img src="../.gitbook/assets/Screenshot 2023-01-12 at 21.48.45 (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../.gitbook/assets/Screenshot 2023-01-12 at 21.48.45.png" alt=""><figcaption></figcaption></figure>

`index: 0` can be omitted and the first step of the flow looks like that:

Expand Down Expand Up @@ -82,8 +82,12 @@ Switching between different apps during the same flow is also supported by maest
id: "breadcrumb"
```

<div align="left">

<figure><img src="../.gitbook/assets/Simulator Screen Shot - iPhone 14 - 2023-01-12 at 22.31.14 (2) (1).png" alt=""><figcaption></figcaption></figure>

</div>

breadcrumb is an accessibility id \
of the “Back to SwiftUI app” \
button on the screenshot below, which was also found with a help of `maestro studio`
Expand Down
30 changes: 30 additions & 0 deletions troubleshooting/debug-output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Debug Output

### Command Failure Reason

If a command fails, failure reason will be shown in red at the end.

<figure><img src="../.gitbook/assets/231784307-53c51d7f-214f-4eb4-b9ba-9ec34380d280.png" alt=""><figcaption><p>Single Flow Run Failure</p></figcaption></figure>

<figure><img src="../.gitbook/assets/231784391-31aaf0a1-5b80-4372-a1e6-b2e6642af472 (1).png" alt=""><figcaption><p>Multiple Flow Run Failures</p></figcaption></figure>

### Screenshot On Failure

By default, upon failure a screenshot will be generated under the Maestro directory i.e for Mac it's `~/.maestro/tests/<datetime>/`

<figure><img src="../.gitbook/assets/Screenshot 2023-05-18 at 18.54.16.png" alt=""><figcaption></figcaption></figure>

### Maestro Logs

Each flow run will generate:

* A `maestro.log` file that contains Maestro related logs
* A `commands-*.json` file that contains command metadata.

{% hint style="info" %}
Device logs are not supported but it's something we plan to add
{% endhint %}

{% hint style="info" %}
Such data will be automatically deleted after 7 days
{% endhint %}

0 comments on commit 6a502bb

Please sign in to comment.