Fix e2e test (#4786)

https://github.com/grafana/oncall/pull/4785 continued
This commit is contained in:
Vadim Stepanov 2024-08-07 13:08:12 +01:00 committed by GitHub
parent c728a0ad46
commit f783876166
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ export const waitForSms = async (): Promise<string> => {
// only start waiting for smses that would've been received after this function has been invoked
since: new Date(),
phoneNumberId: phoneNumber.id,
timeout: 30_000,
timeout: 180_000, // Wait for 3 minutes as SMS notifications are bundled and can take 2+ minutes to arrive
},
});
return sms.body;