Skip to content

Commit

Permalink
Fix test for Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Oct 10, 2024
1 parent c505520 commit ead1d24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit ead1d24

Please sign in to comment.