Skip to content

Commit

Permalink
Update visionOS UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuravi committed May 15, 2024
1 parent 4e32ed2 commit efd94d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/UITests/TestAppUITests/TestAppLLMOpenAIUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class TestAppLLMOpenAIUITests: XCTestCase {
XCTAssert(app.popUpButtons["GPT 4 Turbo"].waitForExistence(timeout: 2))
#elseif os(visionOS)
app.pickers["modelPicker"].pickerWheels.element(boundBy: 0).swipeUp()
XCTAssert(app.pickerWheels["GPT 4 Turbo"].waitForExistence(timeout: 2))
XCTAssert(app.pickerWheels["GPT 4O"].waitForExistence(timeout: 2))
#else
app.pickers["modelPicker"].pickerWheels.element(boundBy: 0).adjust(toPickerWheelValue: "GPT 4 Turbo")
XCTAssert(app.pickerWheels["GPT 4 Turbo"].waitForExistence(timeout: 2))
Expand Down

0 comments on commit efd94d6

Please sign in to comment.