Skip to content

Commit

Permalink
Fix UI test to work with new tab bar
Browse files Browse the repository at this point in the history
  • Loading branch information
mbernson committed Jan 24, 2025
1 parent c799ff2 commit 138342e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CCCTubeUITests/CCCTubeUIScreenshotTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class CCCTubeUIScreenshotTests: XCTestCase {
}

func testConferences() {
app.tabBars.buttons["Conferences"].firstMatch.tap()
app.buttons["Conferences"].firstMatch.tap()
XCTAssertTrue(app.otherElements["ConferencesGrid"].buttons.firstMatch.waitForExistence(timeout: 3.0))
wait(forTimeInterval: 2.0) // Give the app some time to load
takeScreenshot("Conferences")
Expand Down

0 comments on commit 138342e

Please sign in to comment.