mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Fix the UI tests. (#4085)
* Compile errors 😬
* Update server selection snapshots.
The default footer string has changed.
* Remove the TemplateScreen UI tests.
We use preview tests for snapshots now, UI tests are for flow coordinators.
* Add the same looping on the OIDC UI test (but disable the test in the end).
* Run UI tests separately for iPhone and iPad.
GitHub runners don't seem to have enough memory to handle 2 simulators at once.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
//
|
||||
// Copyright 2022-2024 New Vector Ltd.
|
||||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
@MainActor
|
||||
class TemplateScreenUITests: XCTestCase {
|
||||
func testScreen() async throws {
|
||||
let app = Application.launch(.templateScreen)
|
||||
|
||||
let title = app.staticTexts["Template title"]
|
||||
XCTAssert(title.exists)
|
||||
|
||||
try await app.assertScreenshot()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user