update announcement snapshot tests

This commit is contained in:
Rasmus Karlsson
2026-08-23 15:49:09 +02:00
parent 680650113c
commit 28fa2cb8fe
6 changed files with 312 additions and 402 deletions
@@ -22,6 +22,58 @@
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:08",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
},
{
"flags": "AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "LinebreakElement"
},
{
"element": {
"color": "System",
@@ -160,73 +212,6 @@
],
"userID": "11148817",
"usernameColor": "#ffcc44ff"
},
{
"announcementColor": "Blue",
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:08",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
}
],
"externalBadges": [
],
"flags": "System|DoNotTriggerNotification|Announcement",
"frozen": false,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "Announcement",
"searchText": "Announcement",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
}
]
}
@@ -22,6 +22,58 @@
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:20",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
},
{
"flags": "AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "LinebreakElement"
},
{
"element": {
"color": "System",
@@ -160,73 +212,6 @@
],
"userID": "11148817",
"usernameColor": "#ffcc44ff"
},
{
"announcementColor": "Green",
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:20",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
}
],
"externalBadges": [
],
"flags": "System|DoNotTriggerNotification|Announcement",
"frozen": false,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "Announcement",
"searchText": "Announcement",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
}
]
}
@@ -22,6 +22,58 @@
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:25",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
},
{
"flags": "AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "LinebreakElement"
},
{
"element": {
"color": "System",
@@ -160,73 +212,6 @@
],
"userID": "11148817",
"usernameColor": "#ffcc44ff"
},
{
"announcementColor": "Orange",
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:25",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
}
],
"externalBadges": [
],
"flags": "System|DoNotTriggerNotification|Announcement",
"frozen": false,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "Announcement",
"searchText": "Announcement",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
}
]
}
@@ -22,6 +22,58 @@
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:32",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
},
{
"flags": "AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "LinebreakElement"
},
{
"element": {
"color": "System",
@@ -160,73 +212,6 @@
],
"userID": "11148817",
"usernameColor": "#ffcc44ff"
},
{
"announcementColor": "Purple",
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"11:15"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "11:15:32",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
}
],
"externalBadges": [
],
"flags": "System|DoNotTriggerNotification|Announcement",
"frozen": false,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "Announcement",
"searchText": "Announcement",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
}
]
}
@@ -22,6 +22,58 @@
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"21:30"
]
},
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "21:30:19",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
},
{
"flags": "AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "LinebreakElement"
},
{
"element": {
"color": "System",
@@ -152,73 +204,6 @@
],
"userID": "31400525",
"usernameColor": "#ffff0000"
},
{
"announcementColor": "Primary",
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"21:30"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "21:30:19",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
}
],
"externalBadges": [
],
"flags": "System|DoNotTriggerNotification|Announcement",
"frozen": false,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "Announcement",
"searchText": "Announcement",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
}
]
}
@@ -22,6 +22,58 @@
"#pajlada"
]
},
{
"element": {
"color": "System",
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"5:19"
]
},
"flags": "Timestamp|HeaderTimestamp|AnnouncementHeader",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "05:19:38",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text|AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMediumBold",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
},
{
"flags": "AnnouncementHeader",
"link": {
"type": "None",
"value": ""
},
"tooltip": "",
"trailingSpace": true,
"type": "LinebreakElement"
},
{
"element": {
"color": "System",
@@ -206,73 +258,6 @@
],
"userID": "612865661",
"usernameColor": "#ffdaa520"
},
{
"announcementColor": "Primary",
"channelName": "",
"count": 1,
"displayName": "",
"elements": [
{
"element": {
"color": "System",
"flags": "Timestamp",
"link": {
"type": "None",
"value": ""
},
"style": "TimestampMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"5:19"
]
},
"flags": "Timestamp",
"format": "",
"link": {
"type": "None",
"value": ""
},
"time": "05:19:38",
"tooltip": "",
"trailingSpace": true,
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text",
"link": {
"type": "None",
"value": ""
},
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"words": [
"Announcement"
]
}
],
"externalBadges": [
],
"flags": "System|DoNotTriggerNotification|SharedMessage|Announcement",
"frozen": false,
"id": "",
"localizedName": "",
"loginName": "",
"messageText": "Announcement",
"searchText": "Announcement",
"serverReceivedTime": "",
"timeoutUser": "",
"twitchBadgeInfos": {
},
"twitchBadges": [
],
"userID": "",
"usernameColor": "#ff000000"
}
],
"params": {