Event Permalink Tweaks (#2754)

* Handle errors focussing the timeline.

* Add a test for focussing on an existing timeline item.
This commit is contained in:
Doug
2024-04-29 10:00:41 +01:00
committed by GitHub
parent 231fc6defb
commit 7b2168a540
12 changed files with 100 additions and 8 deletions
@@ -27,11 +27,13 @@ enum UITestsSignal: Codable, Equatable {
case success
case timeline(Timeline)
enum Timeline: Codable {
enum Timeline: Codable, Equatable {
/// Ask the app to back paginate.
case paginate
/// Ask the app to simulate an incoming message.
case incomingMessage
/// Ask the app to simulate focussing on an event ID.
case focusOnEvent(String)
}
/// Posts a notification.