fix: clean up chars

This commit is contained in:
2025-09-10 21:42:49 +02:00
parent 2c6537b072
commit 4b9a090599

View File

@@ -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))