Skip to content

Commit 9901fb9

Browse files
Revert "ci: keep browser alive for Unity deep link redirect in tests"
This reverts commit 98a00b3.
1 parent a57cd86 commit 9901fb9

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

sample/.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
**/Payload.ipa
22
**/logFile.log
3-
**/local.log
4-
venv/
3+
**/local.log

sample/Tests/test/test_windows_helpers.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def login():
5656

5757
# Get all window handles
5858
all_windows = driver.window_handles
59-
59+
6060
print(f"Found {len(all_windows)} new windows to check: {all_windows}")
61-
61+
6262
# Find the window with email input
6363
target_window = None
6464
for window in all_windows:
@@ -72,12 +72,12 @@ def login():
7272
except:
7373
print(f"Email input not found in window: {window}, trying next...")
7474
continue
75-
75+
7676
if not target_window:
7777
print("Could not find email input field in any window!")
7878
driver.quit()
7979
return
80-
80+
8181
print("Switch to the target window")
8282
driver.switch_to.window(target_window)
8383

@@ -111,8 +111,7 @@ def login():
111111
wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, 'h1[data-testid="checking_title"]')))
112112
print("Connected to Passport!")
113113

114-
# Keep browser alive for Unity deep link redirect
115-
# driver.quit()
114+
driver.quit()
116115

117116
def open_sample_app():
118117
product_name = get_product_name()

0 commit comments

Comments
 (0)