fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md in fastlane-2.90.0.beta.20180410050128 vs fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md in fastlane-2.90.0.beta.20180411050056
- old
+ new
@@ -91,21 +91,25 @@
- In your UI Test class, click the `Record` button on the bottom left and record your interaction
- To take a snapshot, call the following between interactions
- Swift: `snapshot("01LoginScreen")`
- Objective C: `[Snapshot snapshot:@"01LoginScreen" timeWaitingForIdle:10];`
- Add the following code to your `setUp()` method:
- - Swift:
- ```swift
- let app = XCUIApplication()
- setupSnapshot(app)
- app.launch()
- ```
- - Objective C:
- ```objective-c
- XCUIApplication *app = [[XCUIApplication alloc] init];
- [Snapshot setupSnapshot:app];
- [app launch];
- ```
+
+**Swift:**
+
+```swift
+let app = XCUIApplication()
+setupSnapshot(app)
+app.launch()
+```
+
+**Objective C:**
+
+```objective-c
+XCUIApplication *app = [[XCUIApplication alloc] init];
+[Snapshot setupSnapshot:app];
+[app launch];
+```
_Make sure you only have one `launch` call in your test class, as Xcode adds one automatically on new test files._
