mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
removing a test that can't pass on the CI due to its speed
This commit is contained in:
@@ -46,17 +46,18 @@ final class ComposerUITests: MockScreenTestCase {
|
||||
}
|
||||
|
||||
// This test requires "connect hardware keyboard" to be off on the simulator
|
||||
func testFastTyping() throws {
|
||||
app.goToScreenWithIdentifier(MockComposerScreenState.send.title)
|
||||
let text = "fast typing test"
|
||||
let wysiwygTextView = app.textViews.allElementsBoundByIndex[0]
|
||||
XCTAssertTrue(wysiwygTextView.exists)
|
||||
wysiwygTextView.tap()
|
||||
sleep(2)
|
||||
wysiwygTextView.typeText(text)
|
||||
let value = wysiwygTextView.value as! String
|
||||
XCTAssert(value == text, "Text view value is: \(value)")
|
||||
}
|
||||
// And may not work on the CI
|
||||
// func testFastTyping() throws {
|
||||
// app.goToScreenWithIdentifier(MockComposerScreenState.send.title)
|
||||
// let text = "fast typing test"
|
||||
// let wysiwygTextView = app.textViews.allElementsBoundByIndex[0]
|
||||
// XCTAssertTrue(wysiwygTextView.exists)
|
||||
// wysiwygTextView.tap()
|
||||
// sleep(2)
|
||||
// wysiwygTextView.typeText(text)
|
||||
// let value = wysiwygTextView.value as! String
|
||||
// XCTAssert(value == text, "Text view value is: \(value)")
|
||||
// }
|
||||
|
||||
func testLongPressDelete() throws {
|
||||
app.goToScreenWithIdentifier(MockComposerScreenState.send.title)
|
||||
|
||||
Reference in New Issue
Block a user