She did everything correctly...

except to make sure that the oncoming traffic was actually going to stop before stepping in front of a moving vehicle.