|
|
|
@ -20,8 +20,8 @@ public record ReplySpecs(ExportWrapperFixture ExportWrapper) : IClassFixture<Exp
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
// Assert
|
|
|
|
|
message.Text().Trim().Should().Be("reply to original");
|
|
|
|
|
message.QuerySelector(".chatlog__reference-link")?.Text().Trim().Should().Be("original");
|
|
|
|
|
message.Text().Trim().Should().Contain("reply to original");
|
|
|
|
|
message.QuerySelector(".chatlog__reference-link")?.Text().Trim().Should().Contain("original");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Fact]
|
|
|
|
@ -34,9 +34,9 @@ public record ReplySpecs(ExportWrapperFixture ExportWrapper) : IClassFixture<Exp
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
// Assert
|
|
|
|
|
message.Text().Trim().Should().Be("reply to deleted");
|
|
|
|
|
message.Text().Trim().Should().Contain("reply to deleted");
|
|
|
|
|
message.QuerySelector(".chatlog__reference-link")?.Text().Trim().Should()
|
|
|
|
|
.Be("Original message was deleted or could not be loaded.");
|
|
|
|
|
.Contain("Original message was deleted or could not be loaded.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Fact]
|
|
|
|
@ -49,8 +49,8 @@ public record ReplySpecs(ExportWrapperFixture ExportWrapper) : IClassFixture<Exp
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
// Assert
|
|
|
|
|
message.Text().Trim().Should().Be("reply to attachment");
|
|
|
|
|
message.Text().Trim().Should().Contain("reply to attachment");
|
|
|
|
|
message.QuerySelector(".chatlog__reference-link")?.Text().Trim().Should()
|
|
|
|
|
.Be("Click to see attachment 🖼️");
|
|
|
|
|
.Contain("Click to see attachment 🖼️");
|
|
|
|
|
}
|
|
|
|
|
}
|