Update UIExplorerTests to iOS Simulator 8.3 and re-record failing tests
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 146 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 353 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 140 KiB |
|
@ -38,11 +38,11 @@
|
|||
RCTAssert(!__LP64__, @"Snapshot tests should be run on 32-bit device simulators (e.g. iPhone 5)");
|
||||
#endif
|
||||
NSString *version = [[UIDevice currentDevice] systemVersion];
|
||||
RCTAssert([version isEqualToString:@"8.1"], @"Snapshot tests should be run on iOS 8.1, found %@", version);
|
||||
RCTAssert([version isEqualToString:@"8.3"], @"Snapshot tests should be run on iOS 8.3, found %@", version);
|
||||
_runner = RCTInitRunnerForApp(@"Examples/UIExplorer/UIExplorerApp");
|
||||
|
||||
// If tests have changes, set recordMode = YES below and run the affected
|
||||
// tests on an iPhone5, iOS 8.1 simulator.
|
||||
// tests on an iPhone5, iOS 8.3 simulator.
|
||||
_runner.recordMode = NO;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,5 +25,5 @@ trap cleanup EXIT
|
|||
|
||||
xctool \
|
||||
-project Examples/UIExplorer/UIExplorer.xcodeproj \
|
||||
-scheme UIExplorer -sdk iphonesimulator8.1 \
|
||||
-scheme UIExplorer -sdk iphonesimulator8.3 \
|
||||
test
|
||||
|
|