Updates following self review.

This commit is contained in:
Doug
2022-03-17 19:08:25 +00:00
parent d72b815dc1
commit 8a3664b1f2
17 changed files with 86 additions and 61 deletions
@@ -50,6 +50,10 @@ class OnboardingAvatarUITests: MockScreenTest {
let avatarImage = app.images["avatarImage"]
XCTAssertFalse(avatarImage.exists, "The avatar image should be hidden as no selection has been made.")
let saveButton = app.buttons["saveButton"]
XCTAssertTrue(saveButton.exists, "There should be a save button.")
XCTAssertFalse(saveButton.isEnabled, "The save button should not be enabled.")
}
func verifyUserSelectedAvatar() {
@@ -58,5 +62,9 @@ class OnboardingAvatarUITests: MockScreenTest {
let avatarImage = app.images["avatarImage"]
XCTAssertTrue(avatarImage.exists, "The selected avatar should be shown.")
let saveButton = app.buttons["saveButton"]
XCTAssertTrue(saveButton.exists, "There should be a save button.")
XCTAssertTrue(saveButton.isEnabled, "The save button should be enabled.")
}
}