Yes, Unless otherwise specified, spells do magical damage even when the damage type is Slashing, Bludgeoning, or Piercing.