wait a few seconds before otp validate
This commit is contained in:
@@ -83,6 +83,7 @@ class CommandorPage:
|
||||
logging.info('event set: %s', event_is_set)
|
||||
if self.otp_value:
|
||||
self.fill_otp(self.otp_value)
|
||||
time.sleep(get_random_wait_time())
|
||||
self.clickOnValidBtn()
|
||||
otp_sent = self.page.locator(MESSAGE_FIELD_CLASS)
|
||||
otp_sent.wait_for(state='visible')
|
||||
|
||||
Reference in New Issue
Block a user