Moving alert and error to shared page and step definition to shared step definitions and fix the changes