Bug: emails and notifications sendig in test and prod environment
In the test environment :
Actual behavior :
- I am connected
- I am on a Caroster basic event
- I select french language in user settings
- I add a trip
- I receive in mail catcher 2 emails instead of one, in English instead of French telling that a new trip is available
- I do not receive the notification in the app telling that a new trip is available
- I add a passenger in a trip
- I receive in mail catcher an email in french telling that a passenger has been added in a trip, it is good
- I receive a notification in the app telling that a passenger has been added in a trip in French
- I delete a trip where there is a passenger
- I do not receive the email telling that a trip has been deleted and the email telling that the trip for which the passenger have registered has been deleted
- I do not receive the app notifications telling that a trip has been deleted and that the trip for which the passenger have registered has been deleted
Expected behavior :
- I am connected
- I am on a Caroster basic event
- I select french language in user settings
- I add a trip
- I receive in mail catcher 1 email in French telling that a new trip is available
- I receive a notification in the app telling that a new trip is available in French
- I add a passenger in a trip
- I receive in mail catcher an email in French telling that a passenger has been added in a trip
- I receive a notification in the app telling that a passenger has been added in a trip in French
- I delete a trip where there is a passenger
- I receive the email telling that a trip has been deleted and the email telling that the trip for which the passenger have registered has been deleted
- I receive the app notifications telling that a trip has been deleted and that the trip for which the passenger have registered has been deleted
(The behavior in Caroster Plus event in test environment is good, no problem detected)
In prod environment:
Actual behavior:
On a Caroster basic event:
- I am connected
- I am on a Caroster basic event
- I select french language in user settings
- I add a trip
- I do not receive an email telling that a new trip is available
- I do not receive the notification in the app telling that a new trip is available in French
- I add a passenger in a trip
- I do not receive an email telling that a passenger has been added in a trip
- I do not receive a notification in the app telling that a passenger has been added in a trip in French
- I delete a trip where there is a passenger
- I do not receive the email telling that a trip has been deleted and the email telling that the trip for which the passenger have registered has been deleted
- I do not receive the app notifications telling that a trip has been deleted and that the trip for which the passenger have registered has been deleted
Expected behavior:
- I am connected
- I am on a Caroster basic event
- I select french language in user settings
- I add a trip
- I receive an email telling that a new trip is available in French
- I receive the notification in the app telling that a new trip is available in French
- I add a passenger in a trip
- I receive an email telling that a passenger has been added in a trip in French
- I receive a notification in the app telling that a passenger has been added in a trip in French
- I delete a trip where there is a passenger
- I receive the email telling that a trip has been deleted and the email telling that the trip for which the passenger have registered has been deleted
- I receive the app notifications telling that a trip has been deleted and that the trip for which the passenger have registered has been deleted
Caroster Plus event:
Actual behavior:
As an admin:
- I am connected
- I am admin on a Caroster plus event
- I select french language in user settings
- I add a trip
- I do not receive an email telling that a new trip is available
- I receive the notification in the app telling that a new trip is available in French
- Another user add a trip
- I receive an email telling that a new trip is available in French
- I receive the notification in the app telling that a new trip is available in French
- I add a passenger in a trip
- I do not receive an email telling that a passenger has been added in a trip
- I receive a notification in the app telling that a passenger has been added in a trip in French
- I delete my trip where there is me as a passenger
- I receive the email telling that my trip has been deleted in French
- I do not receive the email telling that the trip for which I am registered has been deleted
- I receive the app notifications telling that my trip has been deleted and that the trip for which I am registered has been deleted in French
Expected behavior:
As an admin:
- I am connected
- I am admin on a Caroster plus event
- I select french language in user settings
- I add a trip
- I receive an email telling that a new trip is available in French
- I receive the notification in the app telling that a new trip is available in French
- Another user add a trip
- I receive an email telling that a new trip is available in French
- I receive the notification in the app telling that a new trip is available in French
- I add a passenger in a trip
- I receive an email telling that a passenger has been added in a trip in French
- I receive a notification in the app telling that a passenger has been added in a trip in French
- I delete a trip where there is a passenger
- I receive the email telling that my trip has been deleted in French
- I receive the email telling that the trip for which I am registered has been deleted in French
- I receive the app notifications telling that a trip has been deleted and that the trip for which the passenger have registered has been deleted
(The behavior in Caroster Plus event in prod environment as a user is good, no problem detected)
Edited by Mathilde Draps