@@ -849,8 +849,7 @@ test.describe("Read receipts", () => {
849849 // Then the room is still read
850850 await util . assertStillRead ( room2 ) ;
851851 } ) ;
852- // TODO: Can't open a thread on a redacted thread root
853- test . skip ( "Redacting a thread root still allows us to read the thread" , async ( {
852+ test ( "Redacting a thread root still allows us to read the thread" , async ( {
854853 roomAlpha : room1 ,
855854 roomBeta : room2 ,
856855 util,
@@ -874,12 +873,13 @@ test.describe("Read receipts", () => {
874873 // And I can open the thread and read it
875874 await util . goTo ( room2 ) ;
876875 await util . assertUnread ( room2 , 2 ) ;
877- await util . openThread ( "Root" ) ;
876+ // The redacted message gets collapsed into, "foo was invited, joined and removed a message"
877+ await util . openCollapsedMessage ( 1 ) ;
878+ await util . openThread ( "Message deleted" ) ;
878879 await util . assertRead ( room2 ) ;
879880 await util . assertReadThread ( "Root" ) ;
880881 } ) ;
881- // TODO: Can't open a thread on a redacted thread root
882- test . skip ( "Sending a threaded message onto a redacted thread root leaves the room unread" , async ( {
882+ test ( "Sending a threaded message onto a redacted thread root leaves the room unread" , async ( {
883883 roomAlpha : room1 ,
884884 roomBeta : room2 ,
885885 util,
@@ -905,7 +905,7 @@ test.describe("Read receipts", () => {
905905 // Then the room and thread are unread
906906 await util . assertUnread ( room2 , 1 ) ;
907907 await util . goTo ( room2 ) ;
908- await util . assertUnreadThread ( "Root " ) ;
908+ await util . assertUnreadThread ( "Message deleted " ) ;
909909 } ) ;
910910 test ( "Reacting to a redacted thread root leaves the room read" , async ( {
911911 roomAlpha : room1 ,
0 commit comments