mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Prefix test in-front of UI test methods.
This commit is contained in:
@@ -17,19 +17,9 @@
|
||||
import XCTest
|
||||
import RiotSwiftUI
|
||||
|
||||
class PollEditFormUITests: XCTestCase {
|
||||
|
||||
private var app: XCUIApplication!
|
||||
|
||||
override func setUp() {
|
||||
continueAfterFailure = false
|
||||
|
||||
app = XCUIApplication()
|
||||
app.launch()
|
||||
app.goToScreenWithIdentifier(MockPollEditFormScreenState.standard.title)
|
||||
}
|
||||
|
||||
class PollEditFormUITests: MockScreenTestCase {
|
||||
func testInitialStateComponents() {
|
||||
app.goToScreenWithIdentifier(MockPollEditFormScreenState.standard.title)
|
||||
|
||||
XCTAssert(app.scrollViews.firstMatch.exists)
|
||||
|
||||
@@ -58,6 +48,7 @@ class PollEditFormUITests: XCTestCase {
|
||||
}
|
||||
|
||||
func testRemoveAddAnswerOptions() {
|
||||
app.goToScreenWithIdentifier(MockPollEditFormScreenState.standard.title)
|
||||
|
||||
let deleteAnswerOptionButton = app.buttons["Delete answer option"].firstMatch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user