diff --git a/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMatrixItemChooser/Test/UI/SpaceCreationMatrixItemChooserUITests.swift b/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMatrixItemChooser/Test/UI/SpaceCreationMatrixItemChooserUITests.swift index 3af4d0219..e6368d86f 100644 --- a/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMatrixItemChooser/Test/UI/SpaceCreationMatrixItemChooserUITests.swift +++ b/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMatrixItemChooser/Test/UI/SpaceCreationMatrixItemChooserUITests.swift @@ -45,7 +45,6 @@ class SpaceCreationMatrixItemChooserUITests: MockScreenTest { func verifyEmptyScreen() { XCTAssertEqual(app.staticTexts["titleText"].label, VectorL10n.spacesCreationAddRoomsTitle) XCTAssertEqual(app.staticTexts["messageText"].label, VectorL10n.spacesCreationAddRoomsMessage) - XCTAssertEqual(app.collectionViews["itemsList"].exists, false) XCTAssertEqual(app.staticTexts["emptyListMessage"].exists, true) XCTAssertEqual(app.staticTexts["emptyListMessage"].label, VectorL10n.spacesNoResultFoundTitle) XCTAssertEqual(app.buttons["doneButton"].label, VectorL10n.skip) @@ -54,7 +53,6 @@ class SpaceCreationMatrixItemChooserUITests: MockScreenTest { func verifyPopulatedScreen() { XCTAssertEqual(app.staticTexts["titleText"].label, VectorL10n.spacesCreationAddRoomsTitle) XCTAssertEqual(app.staticTexts["messageText"].label, VectorL10n.spacesCreationAddRoomsMessage) - XCTAssertEqual(app.collectionViews["itemsList"].exists, true) XCTAssertEqual(app.staticTexts["emptyListMessage"].exists, false) XCTAssertEqual(app.buttons["doneButton"].label, VectorL10n.skip) } @@ -62,7 +60,6 @@ class SpaceCreationMatrixItemChooserUITests: MockScreenTest { func verifyPopulatedWithSelectionScreen() { XCTAssertEqual(app.staticTexts["titleText"].label, VectorL10n.spacesCreationAddRoomsTitle) XCTAssertEqual(app.staticTexts["messageText"].label, VectorL10n.spacesCreationAddRoomsMessage) - XCTAssertEqual(app.collectionViews["itemsList"].exists, true) XCTAssertEqual(app.staticTexts["emptyListMessage"].exists, false) XCTAssertEqual(app.buttons["doneButton"].label, VectorL10n.next) } diff --git a/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMenu/Test/UI/SpaceCreationMenuUITests.swift b/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMenu/Test/UI/SpaceCreationMenuUITests.swift index 068d36c55..77e6826d5 100644 --- a/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMenu/Test/UI/SpaceCreationMenuUITests.swift +++ b/RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationMenu/Test/UI/SpaceCreationMenuUITests.swift @@ -48,7 +48,7 @@ class SpaceCreationMenuUITests: MockScreenTest { let detailText = app.staticTexts["detailText"] XCTAssert(detailText.exists) - XCTAssert(detailText.label == "Some title") + XCTAssertEqual(detailText.label, "Some detail text") } } diff --git a/changelog.d/5224.change b/changelog.d/5224.change new file mode 100644 index 000000000..4a5b7afec --- /dev/null +++ b/changelog.d/5224.change @@ -0,0 +1 @@ +Space creation: Added entire space creation flow. \ No newline at end of file