fix: clean up chars
This commit is contained in:
@@ -21,7 +21,7 @@ final class QuizAppUITests: XCTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func testMultipleChoice() throws {
|
func testMultipleChoice() throws {
|
||||||
app/*@START_MENU_TOKEN@*/.buttons.containing(.staticText, identifier: "Hauptstädte").firstMatch/*[[".buttons",".containing(.staticText, identifier: \"Highscore: 7\").firstMatch",".containing(.staticText, identifier: \"Hauptstädte\").firstMatch",".otherElements.buttons[\"Hauptstädte, Highscore: 7\"]",".buttons[\"Hauptstädte, Highscore: 7\"]"],[[[-1,4],[-1,3],[-1,0,1]],[[-1,2],[-1,1]]],[2,0]]@END_MENU_TOKEN@*/.tap()
|
app.buttons.containing(.staticText, identifier: "Hauptstädte").firstMatch.tap()
|
||||||
|
|
||||||
//Erscheint die erste Frage korrekt?
|
//Erscheint die erste Frage korrekt?
|
||||||
let q1 = app.staticTexts["Was ist die Hauptstadt von Frankreich?"]
|
let q1 = app.staticTexts["Was ist die Hauptstadt von Frankreich?"]
|
||||||
@@ -54,9 +54,9 @@ final class QuizAppUITests: XCTestCase {
|
|||||||
|
|
||||||
|
|
||||||
func testQuit() throws {
|
func testQuit() throws {
|
||||||
app/*@START_MENU_TOKEN@*/.buttons.containing(.staticText, identifier: "Hauptstädte").firstMatch/*[[".buttons",".containing(.staticText, identifier: \"Highscore: 7\").firstMatch",".containing(.staticText, identifier: \"Hauptstädte\").firstMatch",".otherElements.buttons[\"Hauptstädte, Highscore: 7\"]",".buttons[\"Hauptstädte, Highscore: 7\"]"],[[[-1,4],[-1,3],[-1,0,1]],[[-1,2],[-1,1]]],[2,0]]@END_MENU_TOKEN@*/.tap()
|
app.buttons.containing(.staticText, identifier: "Hauptstädte").firstMatch.tap()
|
||||||
app/*@START_MENU_TOKEN@*/.buttons["Abbrechen"]/*[[".otherElements[\"Abbrechen\"].buttons.firstMatch",".otherElements.buttons[\"Abbrechen\"]",".buttons[\"Abbrechen\"]"],[[[-1,2],[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap()
|
app.buttons["Abbrechen"].tap()
|
||||||
app/*@START_MENU_TOKEN@*/.buttons["Quiz verlassen"]/*[[".otherElements.buttons[\"Quiz verlassen\"]",".buttons[\"Quiz verlassen\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap()
|
app.buttons["Quiz verlassen"].tap()
|
||||||
let welcome_msg = app.staticTexts["Willkommen!"]
|
let welcome_msg = app.staticTexts["Willkommen!"]
|
||||||
XCTAssertTrue(welcome_msg.waitForExistence(timeout: 1))
|
XCTAssertTrue(welcome_msg.waitForExistence(timeout: 1))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user