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

end2end-dir is not relative to current directory #386

Open
kh-aeros opened this issue Oct 25, 2024 · 0 comments
Open

end2end-dir is not relative to current directory #386

kh-aeros opened this issue Oct 25, 2024 · 0 comments

Comments

@kh-aeros
Copy link

I'm using cargo leptos based off of the project rather than workspace setup, as the project is deeper within an existing workspace.

When running cargo leptos end-to-end, with the following defined in the Cargo.toml, it attempts to launch tests relative to the parent Workspace, rather than relative to the current directory:

end2end-cmd = "pytest -c end2end/pytest.ini"
end2end-dir = "."

Error:
FileNotFoundError: [Errno 2] No such file or directory: '/workspaces/src/<parent-workspace>/end2end/pytest.ini'

The actual location it should be running is /workspaces/src/<parent-workspace>/code/rust/ui/<my-project>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant