From 4b9a090599a1de42690f8e921742869a77fdf9c5 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 10 Sep 2025 21:42:49 +0200 Subject: [PATCH] fix: clean up chars --- QuizAppUITests/QuizAppUITests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/QuizAppUITests/QuizAppUITests.swift b/QuizAppUITests/QuizAppUITests.swift index c69b950..dc9c6f5 100644 --- a/QuizAppUITests/QuizAppUITests.swift +++ b/QuizAppUITests/QuizAppUITests.swift @@ -21,7 +21,7 @@ final class QuizAppUITests: XCTestCase { } 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? let q1 = app.staticTexts["Was ist die Hauptstadt von Frankreich?"] @@ -54,9 +54,9 @@ final class QuizAppUITests: XCTestCase { 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/*@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/*@START_MENU_TOKEN@*/.buttons["Quiz verlassen"]/*[[".otherElements.buttons[\"Quiz verlassen\"]",".buttons[\"Quiz verlassen\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap() + app.buttons.containing(.staticText, identifier: "Hauptstädte").firstMatch.tap() + app.buttons["Abbrechen"].tap() + app.buttons["Quiz verlassen"].tap() let welcome_msg = app.staticTexts["Willkommen!"] XCTAssertTrue(welcome_msg.waitForExistence(timeout: 1))