mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +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)
|
||||
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79e3da37ad9a5d7c61a05c1a2b97cf9b9a5abc7baec1027ef708e9d3dfe02118
|
||||
size 330902
|
||||
oid sha256:c848c67896ff09355855508ee15ff790e8616f0ccf1f0bc2a09e712ed37f9fa2
|
||||
size 320571
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1814315276b9621711e1b9f66df068fb47d308297f45318ea89a25ff3676e873
|
||||
size 708706
|
||||
oid sha256:816b90d1d31fc84e19ef0318d0619d680ab7d3c84987d811ec86b54738a6cf57
|
||||
size 753048
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9054bcc523d299dbe7ac9d1bf8a872b0263bb90ccc13383224c4a1c71c4c9ec9
|
||||
size 785650
|
||||
oid sha256:b03923620460adf38f959544ee655df6215f83d5937536b38f9f97aa3a0f8392
|
||||
size 867141
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:816b90d1d31fc84e19ef0318d0619d680ab7d3c84987d811ec86b54738a6cf57
|
||||
size 753048
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b03923620460adf38f959544ee655df6215f83d5937536b38f9f97aa3a0f8392
|
||||
size 867141
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be1bb4a5e13a7b1be7e4ad38ae50ab5e3ca06a546015c1346a56358b26093696
|
||||
size 465583
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5431083268d760a1aa3e65967a3be1c91cef27344f83e5e30591b6bb646e79a
|
||||
size 319539
|
||||
Reference in New Issue
Block a user