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
{{ message }}
Repository navigation
Difficulties to remove Links column in the report #890
I tried to remove the Links column from the report but in vain. Apparently this part of code should do the trick, but as expected it did not work (I do not see a part where the column is removed in this snippet)
It looks like the document has changed and it is missing that part as you mentioned. To remove the "Links" column (assuming it is the last column in the table), you can do so as follows:
Activity
volkan-aslan commentedon Mar 4, 2025
It looks like the document has changed and it is missing that part as you mentioned. To remove the "Links" column (assuming it is the last column in the table), you can do so as follows:
TheoCrd commentedon Mar 5, 2025
Thank you for your answer!
TheoCrd commentedon Mar 6, 2025
Is it also possible to modify the output from the
Testcolumn, to avoid having the full path of the test.py file displayed?volkan-aslan commentedon Mar 6, 2025
If console outputs are not important, a basic approach might be to simply change the nodeid as shown below:
However, this would display both the original and given names in the console. That's why I would do it as shown below
1- First create a marker sth like "friendly_name" in pytest.ini
2- Delete the existed "Test" column and create your own
This way, If you add a friendly_name marker to your tests as below, it will be shown as the test name; otherwise, the default test name will be used
TheoCrd commentedon Mar 10, 2025
Thank you for your answer. I will try it as soon as I can in my project and will return to you.