Make the attachment menu an actual menu. (#2199)

There was a bug with the sheet/popover when overriding the colour scheme where the button renders in light mode when the app is in dark mode.
This commit is contained in:
Doug
2023-12-05 11:14:16 +00:00
committed by GitHub
parent 7da881ae3e
commit 5586405c4f
14 changed files with 65 additions and 86 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ class UserSessionScreenTests: XCTestCase {
try await Task.sleep(for: .seconds(1))
try await app.assertScreenshot(.userSessionScreen, step: 2)
app.buttons[A11yIdentifiers.roomScreen.composerToolbar.openComposeOptions].tap()
app.buttons[A11yIdentifiers.roomScreen.composerToolbar.openComposeOptions].forceTap()
try await app.assertScreenshot(.userSessionScreen, step: 3)
}
@@ -52,7 +52,7 @@ class UserSessionScreenTests: XCTestCase {
XCTAssert(app.staticTexts[firstRoomName].waitForExistence(timeout: 5.0))
try await Task.sleep(for: .seconds(1))
app.buttons[A11yIdentifiers.roomScreen.composerToolbar.openComposeOptions].tap()
app.buttons[A11yIdentifiers.roomScreen.composerToolbar.openComposeOptions].forceTap()
try await app.assertScreenshot(.userSessionScreenRTE, step: 1)
app.buttons[A11yIdentifiers.roomScreen.attachmentPickerTextFormatting].tap()