From 32c1f62cc907ad357758cfeee7634d3177cbd580 Mon Sep 17 00:00:00 2001 From: Scott Southerland Date: Thu, 7 Mar 2024 11:45:15 -0800 Subject: [PATCH] Add workiz icons (#156) * Add service titan and workiz icons * Disable hanging text area test * Link JIRA ticket * Rebase fix --- .../xcschemes/Thumbprint.xcscheme | 100 ++++++++++++++++++ Sources/Thumbprint/Icons.swift | 3 + .../Snapshot/Components/TextAreaTest.swift | 4 + 3 files changed, 107 insertions(+) create mode 100644 .swiftpm/xcode/xcshareddata/xcschemes/Thumbprint.xcscheme diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/Thumbprint.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/Thumbprint.xcscheme new file mode 100644 index 00000000..7e1d704c --- /dev/null +++ b/.swiftpm/xcode/xcshareddata/xcschemes/Thumbprint.xcscheme @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sources/Thumbprint/Icons.swift b/Sources/Thumbprint/Icons.swift index ce2f4c3c..23d1ea03 100644 --- a/Sources/Thumbprint/Icons.swift +++ b/Sources/Thumbprint/Icons.swift @@ -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 { diff --git a/Tests/ThumbprintTests/Snapshot/Components/TextAreaTest.swift b/Tests/ThumbprintTests/Snapshot/Components/TextAreaTest.swift index 21ee0a22..dc7d6333 100644 --- a/Tests/ThumbprintTests/Snapshot/Components/TextAreaTest.swift +++ b/Tests/ThumbprintTests/Snapshot/Components/TextAreaTest.swift @@ -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."