mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-01 23:59:12 +00:00
Try to fix remaining test
This commit is contained in:
@@ -40,7 +40,7 @@ public record ReplySpecs(ExportWrapperFixture ExportWrapper) : IClassFixture<Exp
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Reply_to_a_empty_message_with_attachment_is_rendered_correctly()
|
||||
public async Task Reply_to_an_empty_message_with_attachment_is_rendered_correctly()
|
||||
{
|
||||
// Act
|
||||
var message = await ExportWrapper.GetMessageAsHtmlAsync(
|
||||
@@ -51,6 +51,6 @@ public record ReplySpecs(ExportWrapperFixture ExportWrapper) : IClassFixture<Exp
|
||||
// Assert
|
||||
message.Text().Trim().Should().Contain("reply to attachment");
|
||||
message.QuerySelector(".chatlog__reference-link")?.Text().Trim().Should()
|
||||
.Contain("Click to see attachment 🖼️");
|
||||
.Contain("Click to see attachment");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user