Skip to content

Commit

Permalink
Merge pull request #520 from nimblehq/bug/517-fix-ui-test-crash
Browse files Browse the repository at this point in the history
[#517] Fix: UI test crashed in initial run for SwiftUI project
  • Loading branch information
blyscuit authored Sep 7, 2023
2 parents 81d9e23 + 07ef7e5 commit 3449d97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
}
}
}
Expand Down

0 comments on commit 3449d97

Please sign in to comment.