-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ee95e2
commit e8967ce
Showing
19 changed files
with
223 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Extra" | ||
- assertVisible: "{ category: ui.lifecycle, parentViewController: UITabBarController, beingPresented: false, window_isKeyWindow: true, is_window_rootViewController: false }" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Capture Error" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Capture NSException" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
env: | ||
MAESTRO_FLOW_NAME: "Check Frames Proportions" | ||
--- | ||
- launchApp | ||
- tapOn: "Extra" | ||
- tapOn: "Frames Count" | ||
- assertVisible: "Frames Count OK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
env: | ||
MAESTRO_FLOW_NAME: "Check Frames Proportions" | ||
--- | ||
- launchApp | ||
- tapOn: "Extra" | ||
- tapOn: "Frames Proportions" | ||
- assertVisible: "Frames Proportions OK" |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Transactions" | ||
- tapOn: "Load Image Controller" | ||
- assertVisible: "ASSERT: SUCCESS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Transactions" | ||
- tapOn: "Nib Controller" | ||
- assertVisible: "a lonely button" | ||
- assertVisible: "ASSERT: SUCCESS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Transactions" | ||
- tapOn: "Split Controller" | ||
- assertVisible: "ASSERT: SUCCESS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Transactions" | ||
- tapOn: "Table Controller" | ||
- assertVisible: "Gradient Table View" | ||
- assertVisible: "ASSERT: SUCCESS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Transactions" | ||
- tapOn: "Lorem Ipsum Controller" | ||
- assertVisible: | ||
id: "LoremIpsumTextView" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
- launchApp | ||
- tapOn: "Transactions" | ||
- tapOn: "UIClick Transaction" |
10 changes: 10 additions & 0 deletions
10
Samples/iOS-Swift/.maestro/useAfterFreeAfterUIImageNamedEmptyString.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
appId: io.sentry.sample.iOS-Swift | ||
--- | ||
# We received a customer report that ASAN reports a use-after-free error after | ||
# calling UIImage(named:) with an empty string argument. Recording another | ||
# transaction leads to the ASAN error. | ||
- launchApp | ||
# this primes the state required according to the customer report, by setting a UIImageView.image property to a UIImage(named: "") | ||
- tapOn: "Use-after-free" | ||
# this causes another transaction to be recorded which hits the codepath necessary for the ASAN to trip | ||
- tapOn: "Extra" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Samples/iOS-SwiftUI/.maestro/noNewTransactionForSecondCallToBody.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
appId: io.sentry.iOS-SwiftUI | ||
--- | ||
- launchApp | ||
|
||
- tapOn: "Form Screen" | ||
- copyTextFrom: | ||
id: "SPAN_ID" | ||
- assertTrue: ${maestro.copiedText != "NO SPAN"} | ||
|
||
- tapOn: "Test" | ||
- copyTextFrom: | ||
id: "SPAN_ID" | ||
- assertTrue: ${maestro.copiedText == "NO SPAN"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
appId: io.sentry.iOS-SwiftUI | ||
--- | ||
- launchApp | ||
|
||
- copyTextFrom: | ||
id: "TRANSACTION_NAME" | ||
- assertTrue: ${maestro.copiedText == "Content View Body"} | ||
- copyTextFrom: | ||
id: "CHILD_NAME" | ||
- assertTrue: ${maestro.copiedText == "Child Span"} | ||
|
||
- copyTextFrom: | ||
id: "CHILD_PARENT_SPANID" | ||
- evalScript: ${output.childParentSpanId = maestro.copiedText} | ||
- copyTextFrom: | ||
id: "TRANSACTION_ID" | ||
- assertTrue: ${maestro.copiedText == output.childParentSpanId} | ||
|
||
- copyTextFrom: | ||
id: "TRACE_ORIGIN" | ||
- assertTrue: ${maestro.copiedText == "auto.ui.swift_ui"} | ||
- copyTextFrom: | ||
id: "CHILD_TRACE_ORIGIN" | ||
- assertTrue: ${maestro.copiedText == "auto.ui.swift_ui"} |