cobalt icon indicating copy to clipboard operation
cobalt copied to clipboard

tests: fix broken twitter links

Open hyperdefined opened this issue 1 year ago • 3 comments

This fixes 2 of the Twitter links.

  • TwitterSpaces account is now XSpaces, was failing the test before. Renaming fixes it.
  • The Twitter account is private, so the mixed media test was failing. This replaces it with a random tweet I found that has a photo, video, and gif.

hyperdefined avatar Jul 01 '24 15:07 hyperdefined

TwitterSpaces account is now XSpaces, was failing the test before.

It normally redirects so it shouldn't be a problem

ihatespawn avatar Jul 01 '24 16:07 ihatespawn

TwitterSpaces account is now XSpaces, was failing the test before.

It normally redirects so it shouldn't be a problem

Correct, but cobalt doesn't follow the redirect, and it fails. Try the tweet: https://twitter.com/TwitterSpaces/status/1526955853743546372 it will fail.

hyperdefined avatar Jul 01 '24 16:07 hyperdefined

cobalt only uses the tweet id (numbers at the end)

wukko avatar Jul 01 '24 16:07 wukko

Correct, but cobalt doesn't follow the redirect, and it fails. Try the tweet: https://twitter.com/TwitterSpaces/status/1526955853743546372 it will fail.

it fails because the link got marked as nsfw for some reason?

anyways i think it should be replaced with something that works even if you are logged out

dumbmoron avatar Jul 07 '24 11:07 dumbmoron

I used a different video, this one should work in theory.

hyperdefined avatar Jul 08 '24 03:07 hyperdefined