forked from cory/tildefriends
		
	test: Hack around an intermitted -t=auto failure.
This commit is contained in:
		| @@ -198,7 +198,12 @@ try: | |||||||
|  |  | ||||||
| 	wait.until(expected_conditions.presence_of_element_located((By.ID, 'content'))) | 	wait.until(expected_conditions.presence_of_element_located((By.ID, 'content'))) | ||||||
|  |  | ||||||
| 	driver.find_element(By.TAG_NAME, 'tf-navigation').shadow_root.find_element(By.ID, 'identity').click() | 	while True: | ||||||
|  | 		try: | ||||||
|  | 			driver.find_element(By.TAG_NAME, 'tf-navigation').shadow_root.find_element(By.ID, 'identity').click() | ||||||
|  | 			break | ||||||
|  | 		except: | ||||||
|  | 			pass | ||||||
| 	driver.find_element(By.TAG_NAME, 'tf-navigation').shadow_root.find_element(By.ID, 'logout').click() | 	driver.find_element(By.TAG_NAME, 'tf-navigation').shadow_root.find_element(By.ID, 'logout').click() | ||||||
| 	driver.find_element(By.TAG_NAME, 'tf-auth').shadow_root.find_element(By.ID, 'guest_label').click() | 	driver.find_element(By.TAG_NAME, 'tf-auth').shadow_root.find_element(By.ID, 'guest_label').click() | ||||||
| 	driver.find_element(By.TAG_NAME, 'tf-auth').shadow_root.find_element(By.ID, 'guestButton').click() | 	driver.find_element(By.TAG_NAME, 'tf-auth').shadow_root.find_element(By.ID, 'guestButton').click() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user