Question;

Does Booming Blade trigger sneak attack if other criteria for it to occur are met (Another ally next to the target or Swashbuckler) and thus it is only specifically when using invisibility rather than the cantrip as a whole?

Also, does Arcane Trickster make it function?

I ask because I genuinely don't know, so I'm curious as to the extent of this issue to narrow down the exact nature of it; the first question would be in regards to whether this is a bug with invisibility, the second would be in regards to its nature as a cantrip (And AT enables cantrips/spells to sneak attack)