@@ -96,11 +96,6 @@ def login(cls):
9696 cls .seleniumdriver = webdriver .Chrome (options = chrome_options )
9797
9898 print ("Open a window on Chrome" )
99- < << << << HEAD
100-
101- wait = WebDriverWait (cls .seleniumdriver , 60 )
102- == == == =
103- >> >> >> > ddbff678 (test : mac pkce ui test )
10499
105100 wait = WebDriverWait (cls .seleniumdriver , 60 )
106101
@@ -127,17 +122,8 @@ def login(cls):
127122 print ("Entering OTP..." )
128123 otp_field .send_keys (code )
129124
130- < << << << HEAD
131- # Wait for success page and confirm
132- success = WebDriverWait (cls .seleniumdriver , 60 ).until (EC .presence_of_element_located ((SeleniumBy .CSS_SELECTOR , 'h1[data-testid="device_success_title"]' )))
133- print ("Connected to Passport!" )
134-
135- time .sleep (5 )
136-
137- == == == =
138125 time .sleep (5 )
139126
140- >> >> >> > ddbff678 (test : mac pkce ui test )
141127 cls .seleniumdriver .quit ()
142128
143129 @classmethod
@@ -147,21 +133,10 @@ def logout(cls):
147133 bring_sample_app_to_foreground ()
148134 cls .altdriver .find_object (By .NAME , "LogoutBtn" ).tap ()
149135 time .sleep (5 )
150- < << << << HEAD
151- bring_sample_app_to_foreground ()
152- == == == =
153- >> >> >> > ddbff678 (test : mac pkce ui test )
154136 cls .altdriver .wait_for_current_scene_to_be ("UnauthenticatedScene" )
155137 time .sleep (2 )
156138 cls .stop_browser ()
157139 print ("Logged out" )
158- < << << << HEAD
159-
160- def test_1_device_code_login (self ):
161- # Select use device code auth
162- self .altdriver .find_object (By .NAME , "DeviceCodeAuth" ).tap ()
163- == == == =
164- >> >> >> > ddbff678 (test : mac pkce ui test )
165140
166141 def test_1_login (self ):
167142 # Wait for unauthenticated screen
@@ -183,11 +158,7 @@ def test_1_login(self):
183158 # Wait for authenticated screen
184159 self .altdriver .wait_for_current_scene_to_be ("AuthenticatedScene" )
185160 print ("Logged in" )
186- < << << << HEAD
187-
188- == == == =
189161
190- >> >> >> > ddbff678 (test : mac pkce ui test )
191162 self .stop_browser ()
192163 return
193164 except Exception as err :
0 commit comments