[LEBV-442] Sim card status error messages
🎯 Summary
The goal is to introduce a new logic of error messages depending on the status of the SIM card to provide a greater feedback to the customer.
🧪 How to test
Launch the Lebara-Video environment
- Run in a terminal the branch 'develop' in the lebara-video-deployment project.
- Execute
docker-compose -f docker-compose-backend.yml up.
Launch the onboarding-frontend
- Run in a terminal the branch 'LEBV-442_sim-card-status-error' in the lebara-onboarding-frontend project.
- Run the project.
- Open in one tab
http://localhost:4200.
Try to reproduce the following errors
- "RISK_FREE_CHECK_FAILED"
- Feedback: Your SIM card is not activated for registration. Please contact the point of sale where you bought the SIM card.
- "ICCID_DO_NOT_MATCH"
- Feedback: Entered SIM Card number is incorrect. Please check again the last four digits of the SIM card number.
- "PUK_CODE_DO_NOT_MATCH"
- Feedback: The entered PUK is incorrect. Please check again the PUK.
- "ACTIVE"
- Feedback: Your SIM card is already activated for registration. Please contact the point of sale where you bought the SIM card.
🧠 Considerations
🧐 Checklist
- Changes work in Google Chrome
- Changes work in Safari
- UI is responsive