tests: add twitter image tests

This commit is contained in:
wukko 2024-07-26 21:22:24 +06:00
parent dad13548e6
commit 9d4f7e666f
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -11,8 +11,7 @@
"code": 200,
"status": "redirect"
}
},
{
}, {
"name": "video with mobile web mediaviewer",
"url": "https://twitter.com/X/status/1697304622749086011/mediaViewer?currentTweet=1697304622749086011&currentTweetUser=X&currentTweet=1697304622749086011&currentTweetUser=X",
"params": {},
@ -137,6 +136,22 @@
"code": 200,
"status": "redirect"
}
}, {
"name": "post with 1 image",
"url": "https://x.com/PopCrave/status/1815960083475423235",
"params": {},
"expected": {
"code": 200,
"status": "redirect"
}
}, {
"name": "post with 4 images",
"url": "https://x.com/PopCrave/status/1816260887147114696",
"params": {},
"expected": {
"code": 200,
"status": "picker"
}
}, {
"name": "retweeted video, isAudioOnly",
"url": "https://twitter.com/hugekiwinuts/status/1618671150829309953?s=46&t=gItGzgwGQQJJaJrO6qc1Pg",