updated create_alarm method so that we wait for the popup notification to not be visible anymore and removed it from tests