Skip to content

Commit

Permalink
final fixes i hope?!
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaboord committed Mar 14, 2024
1 parent 98f0c97 commit afd6858
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IntakeUITests/NinasTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ final class NinasTests: XCTestCase {
app.launchArguments = ["--disableFirebase", "--skipOnboarding", "--skipToScrollable"]
app.launch()

let startButton = app.buttons["Start"]
let startButton = app.buttons["Create New Form"]
let nameTextField = app.textFields["Full Name"]
let dobDatePicker = app.datePickers["Date of Birth"]
let sexPicker = app.datePickers["Sex"]
let nextToScrollableView = app.buttons["Next"]
let next = app.buttons["Next"]

startButton.tap()
nameTextField.tap()
Expand All @@ -67,7 +67,7 @@ final class NinasTests: XCTestCase {
dobDatePicker.pickerWheels.element(boundBy: 2).adjust(toPickerWheelValue: "1980")
sexPicker.tap()
sexPicker.adjust(toPickerWheelValue: "Male")
nextToScrollableView.tap()
next.tap()

XCTAssertTrue(app.staticTexts["John Doe"].waitForExistence(timeout: 5))
XCTAssertTrue(app.staticTexts["1980-01-01"].waitForExistence(timeout: 5))
Expand Down

0 comments on commit afd6858

Please sign in to comment.