mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:31:27 +00:00
Seamlessly switch for the RichTextEditor based message composer to the… (#2753)
* Seemlesly switch for the RichTextEditor based message composer to the plain one depending on whether formatting options are enabled or not. * Address PR comments * Fixes #2803 - Add extra padding at the bottom of the composer suggestions list * Update preview test snapshots * Update UI test snapshots
This commit is contained in:
@@ -45,20 +45,6 @@ class UserSessionScreenTests: XCTestCase {
|
||||
try await app.assertScreenshot(.userSessionScreenReply)
|
||||
}
|
||||
|
||||
func testUserSessionRTE() async throws {
|
||||
let app = Application.launch(.userSessionScreenRTE)
|
||||
|
||||
app.buttons[A11yIdentifiers.homeScreen.roomName(firstRoomName)].tap()
|
||||
XCTAssert(app.staticTexts[firstRoomName].waitForExistence(timeout: 5.0))
|
||||
try await Task.sleep(for: .seconds(1))
|
||||
|
||||
app.buttons[A11yIdentifiers.roomScreen.composerToolbar.openComposeOptions].forceTap()
|
||||
try await app.assertScreenshot(.userSessionScreenRTE, step: 1)
|
||||
|
||||
app.buttons[A11yIdentifiers.roomScreen.attachmentPickerTextFormatting].tap()
|
||||
try await app.assertScreenshot(.userSessionScreenRTE, step: 2)
|
||||
}
|
||||
|
||||
func testElementCall() async throws {
|
||||
let app = Application.launch(.userSessionScreen)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user