You will be able to tell it’s the correct tram if it is painted yellow with a white roof and has a sign saying E28, which means Elétrico, which means tram in Portuguese, and the 28 route.