e2e: add tests for TOTP Setup, static OTP Setup and otp validation
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
"""test OAuth Provider flow"""
|
||||
from sys import platform
|
||||
from time import sleep
|
||||
from typing import Any, Dict, Optional
|
||||
from unittest.case import skipUnless
|
||||
|
||||
@ -159,6 +160,8 @@ class TestProviderOAuth2Github(SeleniumTestCase):
|
||||
),
|
||||
).click()
|
||||
|
||||
sleep(1)
|
||||
|
||||
self.wait_for_url("http://localhost:3000/?orgId=1")
|
||||
self.driver.find_element(By.XPATH, "//a[contains(@href, '/profile')]").click()
|
||||
self.assertEqual(
|
||||
|
Reference in New Issue
Block a user