Updates based on comments.

This commit is contained in:
David Langley
2022-10-13 11:12:14 +01:00
parent c73a3304ca
commit ca8467e7b0
7 changed files with 28 additions and 12 deletions
@@ -21,14 +21,14 @@ class ComposerCreateActionListUITests: MockScreenTestCase {
func testFullList() throws {
app.goToScreenWithIdentifier(MockComposerCreateActionListScreenState.fullList.title)
XCTAssert(app.staticTexts["Photo Library"].exists)
XCTAssert(app.staticTexts["Location"].exists)
XCTAssert(app.staticTexts[ComposerCreateAction.photoLibrary.accessibilityIdentifier].exists)
XCTAssert(app.staticTexts[ComposerCreateAction.location.accessibilityIdentifier].exists)
}
func testPartialList() throws {
app.goToScreenWithIdentifier(MockComposerCreateActionListScreenState.partialList.title)
XCTAssert(app.staticTexts["Photo Library"].exists)
XCTAssertFalse(app.staticTexts["Location"].exists)
XCTAssert(app.staticTexts[ComposerCreateAction.photoLibrary.accessibilityIdentifier].exists)
XCTAssertFalse(app.staticTexts[ComposerCreateAction.location.accessibilityIdentifier].exists)
}
}