Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippzagar committed Feb 17, 2025
1 parent dcad43f commit 74971e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tests/UITests/TestAppUITests/TestAppLLMOpenAIUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ class TestAppLLMOpenAIUITests: XCTestCase {
app.menuItems["gpt-4o"].tap()
XCTAssert(app.popUpButtons["gpt-4o"].waitForExistence(timeout: 2))
#elseif os(visionOS)
app.pickers["modelPicker"].pickerWheels.element(boundBy: 0).swipeUp()
app.pickers["modelPicker"].pickerWheels.element(boundBy: 0).swipeDown()
app.pickers["modelPicker"].pickerWheels.element(boundBy: 0).adjust(toNormalizedSliderPosition: 0.1)

Check failure on line 57 in Tests/UITests/TestAppUITests/TestAppLLMOpenAIUITests.swift

View workflow job for this annotation

GitHub Actions / Build and Test UI Tests visionOS (Debug, TestApp-visionOS.xcresult, TestApp-visionOS.xcresult) / Test using xcodebuild or run fastlane

testSpeziLLMOpenAIOnboarding, Can only adjust position of slider elements, not valid for "gpt-3.5-turbo" PickerWheel. (NSInvalidArgumentException)
XCTAssert(app.pickerWheels["gpt-4o"].waitForExistence(timeout: 2))
#else
app.pickers["modelPicker"].pickerWheels.element(boundBy: 0).adjust(toPickerWheelValue: "gpt-4o")
Expand Down

0 comments on commit 74971e9

Please sign in to comment.