Skip to content

Commit

Permalink
updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kcallon committed Mar 14, 2024
1 parent dec272f commit 1e6fa41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion IntakeUITests/MedicationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ class MedicationTests: XCTestCase {
app.buttons["Add Medication"].tap()
XCTAssertTrue(app.staticTexts["Verapamil Hydrochloride 40 MG"].waitForExistence(timeout: 5))
app.buttons["Save Medications"].tap()
sleep(5)
sleep(7)
XCTAssertTrue(app.navigationBars["Patient Form"].waitForExistence(timeout: 2))
XCTAssertTrue(app.staticTexts["Hydrochlorothiazide 25 MG Oral Tablet"].waitForExistence(timeout: 5))
XCTAssertTrue(app.staticTexts["amLODIPine 2.5 MG Oral Tablet"].waitForExistence(timeout: 5))
XCTAssertTrue(app.staticTexts["Verapamil Hydrochloride 40 MG"].waitForExistence(timeout: 5))
XCTAssertTrue(app.staticTexts["2.5 MG - Every Day"].waitForExistence(timeout: 5))
}
}

0 comments on commit 1e6fa41

Please sign in to comment.