Skip to content

Commit d3dec0b

Browse files
cristipufuclaude
andcommitted
fix: disable auth in e2e tests to avoid selector conflicts
The auth sidebar dropdown interferes with _wait_for_entrypoints which uses document.querySelector('select') and picks up the auth select first. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 04d30cb commit d3dec0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/e2e/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""E2E-specific fixtures for Textual TUI and web server tests."""
22

3+
import os
34
import socket
45
import threading
56
import time
@@ -46,6 +47,10 @@ def live_server_url():
4647
trace_mgr = UiPathTraceManager()
4748
port = _find_free_port()
4849

50+
# Disable auth in tests so the sidebar auth dropdown doesn't interfere
51+
# with selectors that look for entrypoint dropdowns.
52+
os.environ["UIPATH_AUTH_ENABLED"] = "false"
53+
4954
server_obj = UiPathDeveloperServer(
5055
runtime_factory=factory,
5156
trace_manager=trace_mgr,

0 commit comments

Comments
 (0)