There are shades of grey on this kind of thing. Testing cosmetics seems a less painful ordeal than some of the more brutal examples given in the article. Another thing. If animal testing was outlawed, the same testing would probably end up being done on poor people instead. Is that worse? I think so.
Animal testing is unnecessary most of the time. Even when its necessary they are brutally tortured and after testing is over they are simply killed. But you know companies don't think animal deserves to live. We can use simulations etc but you know its hard to change culture.
1. https://sciencebasedmedicine.org/ethics-in-human-experimenta...