Various UI test fixes (#1048)

* Update analytics prompt refernce screenshots

* Update onboarding reference screenshots

* Update settings reference screenshots

* Update room list reference screenshots

* Workaround the change server continue button not being tappable for some reason
This commit is contained in:
Stefan Ceriu 2023-06-08 11:33:32 +03:00 committed by GitHub
parent 5a4f73e2b8
commit 1bbb077e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 33 additions and 35 deletions

View File

@ -77,8 +77,7 @@ class AuthenticationCoordinatorUITests: XCTestCase {
app.buttons[A11yIdentifiers.serverConfirmationScreen.changeServer].tap()
// Server Selection: Clear the default, enter OIDC server and continue.
app.textFields[A11yIdentifiers.changeServerScreen.server].clearAndTypeText("company.com")
app.buttons[A11yIdentifiers.changeServerScreen.continue].tap()
app.textFields[A11yIdentifiers.changeServerScreen.server].clearAndTypeText("company.com\n")
// Server Confirmation: Tap continue button
app.buttons[A11yIdentifiers.serverConfirmationScreen.continue].tap()

View File

@ -20,7 +20,6 @@ import XCTest
class HomeScreenUITests: XCTestCase {
func testInitialStateComponents() async throws {
let app = Application.launch(.home)
// The gradient of the skeleton changes dynamically over time so the time may influence the match, better to have a lower precision for this one
try await app.assertScreenshot(.home)
}
}

Binary file not shown.

Binary file not shown.