Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test for Docker container #3840

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions atest/library/os_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,7 @@ def add_kw(filename: Path, *kw_names):

def is_macos() -> bool:
return sys.platform == "darwin"


def get_python_binary_path() -> str:
return sys.executable
5 changes: 3 additions & 2 deletions atest/test/01_Browser_Management/playwright_state.robot
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,9 @@ Launch Browser Server Generated wsEndpoint
[Teardown] Close Browser Server ${wsEndpoint}

Launch Browser Server Via CLI
${python} = Get Python Binary Path
${process1} = Start Process
... python
... ${python}
... -m
... Browser.entry
... launch-browser-server
Expand All @@ -441,7 +442,7 @@ Launch Browser Server Via CLI
... port\=8277
... wsPath\=server2
${process2} = Start Process
... python
... ${python}
... -m
... Browser.entry
... launch-browser-server
Expand Down