[BUG] VS Code opens incorrect log.html when multiple RF projects are loaded
TomasJelinek-ext44181 opened this issue · comments
Describe the bug
When I have more than one Robot Framework project open in VS Code, run a test to generate log.html, and then open that file in a new tab, VS Code displays the log.html from the second project instead of the one I just ran.
Steps To Reproduce
Steps to reproduce the behavior:
- Open two RF projects
- Run test in first project
- click ctrl + mouse on log.html
- Run test in second project
- click ctrl + mouse on log.html
- Here you will see log from first project
Expected behavior
Getting log.html from current project
Screenshots/ Videos
Desktop (please complete the following information):
- VS Code Version 1.101.0
- RobotCode Version 1.4.0
- OS: Windows
- Python Version 3.12.7
- RobotFramework Version 7.0.1
- Additional tools: robocop, robotidy
this is weird, need to take a deeper look!
does this happen everytime or only sometimes?
I cannot reproduce it on a mac.
Happen to me everytime on windows.
Do you have the same output directory for both projects?
can you please enable this setting robotcode.documentationServer.startOnDemand in the vscode settings for your projects, this is disabled by default.
ve the same output directory for bot
I do
can you please enable this setting
robotcode.documentationServer.startOnDemandin the vscode settings for your projects, this is disabled by default.
Same result with enabled setting.
ve the same output directory for bot
I do
really? i mean the absolut path to the output directory
Absolut are different:
C:\Users\ext44181\Git\psd2-test-automation\results
C:\Users\ext44181\Git\multibankapi-test-automation\results
A new version of RobotCode is on the way. Could you please check if it works again now? If not, please reopen this issue.
Works fine now. Thanks for fix!
