-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add snapshot tests job to PR's and master build. * Add record option to snapshot tests job. * Archive failing snapshot tests as artifacts. Co-authored-by: wixmobile <mobile1@wix.com> Co-authored-by: Guy Carmeli <guyca@users.noreply.github.com>
- Loading branch information
1 parent
c92df18
commit 1f887c8
Showing
17 changed files
with
165 additions
and
18 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
Binary file modified
BIN
+0 Bytes
(100%)
...erenceImages_64/StackOptionsTest/testStack_topBar_opaque_background_push@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...ceImages_64/StackOptionsTest/testStack_topBar_tansparent_background_push@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+207 Bytes
(100%)
...ts/ReferenceImages_64/StackOptionsTest/testStack_topBar_title_change_pop@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-48 Bytes
(100%)
...s/ReferenceImages_64/StackOptionsTest/testStack_topBar_title_change_push@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+207 Bytes
(100%)
...ests/ReferenceImages_64/StackOptionsTest/testStack_topBar_title_font_pop@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-38 Bytes
(100%)
...sts/ReferenceImages_64/StackOptionsTest/testStack_topBar_title_font_push@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-16.7 KB
(74%)
...ceImages_64/StackOptionsTest/testStack_topBar_translucent_background_pop@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...eImages_64/StackOptionsTest/testStack_topBar_translucent_background_push@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-16.7 KB
(74%)
...eImages_64/StackOptionsTest/testStack_topBar_translucent_background_root@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...sts/ReferenceImages_64/StackOptionsTest/testStack_topBar_visibility_push@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
109 changes: 109 additions & 0 deletions
109
playground/ios/playground.xcodeproj/xcshareddata/xcschemes/SnapshotRecordTests.xcscheme
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,109 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1120" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "NO"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "507C80D92429111F00F765F7" | ||
BuildableName = "SnapshotTests.xctest" | ||
BlueprintName = "SnapshotTests" | ||
ReferencedContainer = "container:playground.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
<EnvironmentVariables> | ||
<EnvironmentVariable | ||
key = "FB_REFERENCE_IMAGE_DIR" | ||
value = "$(SOURCE_ROOT)/SnapshotTests/ReferenceImages" | ||
isEnabled = "YES"> | ||
</EnvironmentVariable> | ||
<EnvironmentVariable | ||
key = "RECORD_SNAPSHOTS" | ||
value = "YES" | ||
isEnabled = "YES"> | ||
</EnvironmentVariable> | ||
<EnvironmentVariable | ||
key = "IMAGE_DIFF_DIR" | ||
value = "$(SOURCE_ROOT)/SnapshotTests/FailureDiffs" | ||
isEnabled = "YES"> | ||
</EnvironmentVariable> | ||
<EnvironmentVariable | ||
key = "TEST_ENABLED" | ||
value = "YES" | ||
isEnabled = "YES"> | ||
</EnvironmentVariable> | ||
</EnvironmentVariables> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "507C80D92429111F00F765F7" | ||
BuildableName = "SnapshotTests.xctest" | ||
BlueprintName = "SnapshotTests" | ||
ReferencedContainer = "container:playground.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" | ||
BuildableName = "playground.app" | ||
BlueprintName = "playground" | ||
ReferencedContainer = "container:playground.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<EnvironmentVariables> | ||
<EnvironmentVariable | ||
key = "RECORD_SNAPSHOT_TESTS" | ||
value = "" | ||
isEnabled = "YES"> | ||
</EnvironmentVariable> | ||
</EnvironmentVariables> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A" | ||
BuildableName = "playground.app" | ||
BlueprintName = "playground" | ||
ReferencedContainer = "container:playground.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
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