File tree Expand file tree Collapse file tree 4 files changed +3
-176
lines changed Expand file tree Collapse file tree 4 files changed +3
-176
lines changed Original file line number Diff line number Diff line change 65
65
include :
66
66
- targetPlatform : StandaloneOSX
67
67
runs-on : [self-hosted, macOS]
68
- test_script : . /test_mac.sh
68
+ test_script : pytest -xs test /test_mac.py::MacTest
69
69
- targetPlatform : StandaloneWindows64
70
70
runs-on : [self-hosted, windows]
71
71
test_script : pytest -xs test/test_windows.py::WindowsTest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ def login(cls):
52
52
53
53
# Switch to the new window
54
54
all_windows = cls .seleniumdriver .window_handles
55
- new_window = next (window for window in all_windows if window != cls .seleniumdriver .current_window_handle )
55
+ new_window = [window for window in all_windows if window != cls .seleniumdriver .current_window_handle ][0 ]
56
+ cls .seleniumdriver .switch_to .window (new_window )
56
57
print ("Switched to new window" )
57
58
58
59
# Wait for email input and enter email
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments