From 07ef7e558cdc6d482ddbba4f1829892063327c8b Mon Sep 17 00:00:00 2001 From: Shayokh144 Date: Fri, 25 Aug 2023 14:35:59 +0700 Subject: [PATCH] [fix] [517] Fix crash by setting appropriate string --- .../UIKit/Sources/Presentation/Modules/HomeViewController.swift | 2 +- .../Sources/Specs/Application/ApplicationSpec.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tuist/Interfaces/UIKit/Sources/Presentation/Modules/HomeViewController.swift b/Tuist/Interfaces/UIKit/Sources/Presentation/Modules/HomeViewController.swift index a9afdb16..6196825e 100644 --- a/Tuist/Interfaces/UIKit/Sources/Presentation/Modules/HomeViewController.swift +++ b/Tuist/Interfaces/UIKit/Sources/Presentation/Modules/HomeViewController.swift @@ -7,7 +7,7 @@ final class HomeViewController: UIViewController { view.backgroundColor = .white let helloLabel = UILabel() - helloLabel.text = "Hello" + helloLabel.text = "Hello, world!" helloLabel.translatesAutoresizingMaskIntoConstraints = false view.addSubview(helloLabel) diff --git a/{PROJECT_NAME}KIFUITests/Sources/Specs/Application/ApplicationSpec.swift b/{PROJECT_NAME}KIFUITests/Sources/Specs/Application/ApplicationSpec.swift index 8dded39b..9380ba9f 100644 --- a/{PROJECT_NAME}KIFUITests/Sources/Specs/Application/ApplicationSpec.swift +++ b/{PROJECT_NAME}KIFUITests/Sources/Specs/Application/ApplicationSpec.swift @@ -23,7 +23,7 @@ final class ApplicationSpec: QuickSpec { context("when opens") { it("shows its UI components") { - self.tester().waitForView(withAccessibilityLabel: "Hello") + self.tester().waitForView(withAccessibilityLabel: "Hello, world!") } } }