Skip to content

Commit

Permalink
Increased timeouts to reduce chance of test failing when it shouldn't.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdoe committed Aug 15, 2024
1 parent 3b1364a commit 69c8259
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CCMenu/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>2251.2</string>
<string>2251.3</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion CCMenuUITests/CCTrayTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class CCTrayTests: XCTestCase {
// TODO: Will this ever not work? Our embedded server might use different caching logic.
webapp.stop()
expectation(for: NSPredicate(format: "value CONTAINS 'Could not connect to the server.'"), evaluatedWith: descriptionText)
waitForExpectations(timeout: 2)
waitForExpectations(timeout: 5)
}

func testAddsPipeline() throws {
Expand Down
2 changes: 1 addition & 1 deletion CCMenuUITests/GitHubTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class GitHubTests: XCTestCase {
expectation(for: NSPredicate(format: "value == 'Build and test'"), evaluatedWith: workflowPicker)
let displayNameField = sheet.textFields["Display name field"]
expectation(for: NSPredicate(format: "value == 'ccmenu2 | Build and test'"), evaluatedWith: displayNameField)
waitForExpectations(timeout: 2)
waitForExpectations(timeout: 5)

// Set a custom display name, and close the sheet
displayNameField.click()
Expand Down

0 comments on commit 69c8259

Please sign in to comment.