tests: add twitter image tests
This commit is contained in:
parent
dad13548e6
commit
9d4f7e666f
1 changed files with 17 additions and 2 deletions
|
@ -11,8 +11,7 @@
|
||||||
"code": 200,
|
"code": 200,
|
||||||
"status": "redirect"
|
"status": "redirect"
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"name": "video with mobile web mediaviewer",
|
"name": "video with mobile web mediaviewer",
|
||||||
"url": "https://twitter.com/X/status/1697304622749086011/mediaViewer?currentTweet=1697304622749086011¤tTweetUser=X¤tTweet=1697304622749086011¤tTweetUser=X",
|
"url": "https://twitter.com/X/status/1697304622749086011/mediaViewer?currentTweet=1697304622749086011¤tTweetUser=X¤tTweet=1697304622749086011¤tTweetUser=X",
|
||||||
"params": {},
|
"params": {},
|
||||||
|
@ -137,6 +136,22 @@
|
||||||
"code": 200,
|
"code": 200,
|
||||||
"status": "redirect"
|
"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",
|
"name": "retweeted video, isAudioOnly",
|
||||||
"url": "https://twitter.com/hugekiwinuts/status/1618671150829309953?s=46&t=gItGzgwGQQJJaJrO6qc1Pg",
|
"url": "https://twitter.com/hugekiwinuts/status/1618671150829309953?s=46&t=gItGzgwGQQJJaJrO6qc1Pg",
|
||||||
|
|
Loading…
Reference in a new issue