mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-04 08:29:45 -04:00
parent
489c786c1e
commit
71876febf8
3 changed files with 7 additions and 5 deletions
|
@ -42,7 +42,7 @@ public record AttachmentSpecs(ExportWrapperFixture ExportWrapper) : IClassFixtur
|
|||
Snowflake.Parse("885654862656843786")
|
||||
);
|
||||
|
||||
var imageUrl = message.QuerySelector("img[alt*=\"attachment\" i]")?.GetAttribute("src");
|
||||
var imageUrl = message.QuerySelector(".chatlog__attachment img")?.GetAttribute("src");
|
||||
|
||||
// Assert
|
||||
message.Text().Should().Contain("Image attachment");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue