You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the [Documentation] section of each test case, our team includes (at minimum) the test case reference ID as a hyperlink. Because the URL base pointing to our test case hosting service (in our case, Zephyr Scale) is quite long, we have added it as a suite variable. Example:
We then prepend that variable to construct the entire URL so the hyperlink will direct the viewer of the test report to the test case page for a full description of said test case. Example:
*** Test Cases ***My Important Test Case [Documentation] Test case [${ZEPHYR_URL}AG-T91|AG-T91]
In the test case report, the above would render the entire hyperlink correctly as expected.
Issue Description
When hovering over the test case, the "hover text" appears to render the documentation section correctly, including an indication of a hyperlink:
However, when you hover over the hyperlink itself, you see that the variable is rendered as literal text and isn't resolved into its value:
This is confirmed when you click on the hyperlink as invalid:
Note: When you hover of the variable within the test case documentation section, you see that it is resolving the value correctly:
Steps To Reproduce
Steps to reproduce the behavior:
Set up a variable as indicated above
Create a URL as indicated above in the [Documentation] section
Hover over the test case and note that URL appears to be "recognized" from its formatting.
Attempt to click on the URL; result - it cannot resolve to a proper URL value
Hover over the variable as indicated; result - the variable is in fact recognized and resolved
Expected behavior
It would be expected that the hover text, including the documentation section, would resolve the variables such that a complete hyperlink would be achieved and resolve via clicking on it.
Desktop Environment
VS Code Version: 1.93.1
RobotCode Version: 0.92.0
OS: Windows 11 Enterprise
Python Version: 3.12.3
RobotFramework Version: 6.1.1
Robocop: 5.3.0
Robotidy: 4.6.0
The text was updated successfully, but these errors were encountered:
d-biehl
changed the title
[BUG] Hover Rendering of Test Case Does Not Resolve a Variable-Based URL in the Documentation Section
[Enhancement] Hover Rendering of Test Case Does Not Resolve a Variable-Based URL in the Documentation Section
Oct 8, 2024
Background
In the
[Documentation]
section of each test case, our team includes (at minimum) the test case reference ID as a hyperlink. Because the URL base pointing to our test case hosting service (in our case, Zephyr Scale) is quite long, we have added it as a suite variable. Example:We then prepend that variable to construct the entire URL so the hyperlink will direct the viewer of the test report to the test case page for a full description of said test case. Example:
In the test case report, the above would render the entire hyperlink correctly as expected.
Issue Description
When hovering over the test case, the "hover text" appears to render the documentation section correctly, including an indication of a hyperlink:

However, when you hover over the hyperlink itself, you see that the variable is rendered as literal text and isn't resolved into its value:

This is confirmed when you click on the hyperlink as invalid:

Note: When you hover of the variable within the test case documentation section, you see that it is resolving the value correctly:

Steps To Reproduce
Steps to reproduce the behavior:
[Documentation]
sectionExpected behavior
It would be expected that the hover text, including the documentation section, would resolve the variables such that a complete hyperlink would be achieved and resolve via clicking on it.
Desktop Environment
1.93.1
0.92.0
Windows 11 Enterprise
3.12.3
6.1.1
5.3.0
4.6.0
The text was updated successfully, but these errors were encountered: