Skip to content

Commit 1a44157

Browse files
committed
test: remove unused ui test files
1 parent 2fcb28d commit 1a44157

File tree

4 files changed

+3
-176
lines changed

4 files changed

+3
-176
lines changed

.github/workflows/ui-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
include:
6666
- targetPlatform: StandaloneOSX
6767
runs-on: [self-hosted, macOS]
68-
test_script: ./test_mac.sh
68+
test_script: pytest -xs test/test_mac.py::MacTest
6969
- targetPlatform: StandaloneWindows64
7070
runs-on: [self-hosted, windows]
7171
test_script: pytest -xs test/test_windows.py::WindowsTest

sample/Tests/src/device_code_logout.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

sample/Tests/test/test_mac.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def login(cls):
5252

5353
# Switch to the new window
5454
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)
5657
print("Switched to new window")
5758

5859
# Wait for email input and enter email

sample/Tests/test_mac.sh

Lines changed: 0 additions & 137 deletions
This file was deleted.

0 commit comments

Comments
 (0)