Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Add workiz icons (#156)
Browse files Browse the repository at this point in the history
* Add service titan and workiz icons

* Disable hanging text area test

* Link JIRA ticket

* Rebase fix
  • Loading branch information
scottasoutherland authored Mar 7, 2024
1 parent c29298c commit 32c1f62
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 0 deletions.
100 changes: 100 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/Thumbprint.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Thumbprint"
BuildableName = "Thumbprint"
BlueprintName = "Thumbprint"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ThumbprintTests"
BuildableName = "ThumbprintTests"
BlueprintName = "ThumbprintTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ThumbprintTests"
BuildableName = "ThumbprintTests"
BlueprintName = "ThumbprintTests"
ReferencedContainer = "container:">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "TextAreaTest/testFirstResponderEmpty()">
</Test>
<Test
Identifier = "TextAreaTest/testFirstResponderFilled()">
</Test>
</SkippedTests>
</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">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Thumbprint"
BuildableName = "Thumbprint"
BlueprintName = "Thumbprint"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
3 changes: 3 additions & 0 deletions Sources/Thumbprint/Icons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,9 @@ public enum Icon: String, CaseIterable {
case socialJobberMedium = "social_jobber--medium"
case socialJobberSmall = "social_jobber--small"
case socialJobberTiny = "social_jobber--tiny"
case socialWorkizMedium = "social_workiz-circle--medium"
case socialWorkizSmall = "social_workiz-circle--small"
case socialWorkizTiny = "social_workiz-circle--tiny"

public var image: UIImage {
guard let icon = UIImage(named: rawValue, in: Self.bundle, compatibleWith: nil) else {
Expand Down
4 changes: 4 additions & 0 deletions Tests/ThumbprintTests/Snapshot/Components/TextAreaTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ class TextAreaTest: SnapshotTestCase {
verify()
}

// Disabled because hangs frequently under github actions
// https://thumbtack.atlassian.net/browse/MINF-2392
func testFirstResponderEmpty() {
verify {
self.textArea.becomeFirstResponder()
}
}

// Disabled because hangs frequently under github actions
// https://thumbtack.atlassian.net/browse/MINF-2392
func testFirstResponderFilled() {
textArea.text = "Test."

Expand Down

0 comments on commit 32c1f62

Please sign in to comment.