Test Results for External Link (NOT WIKI TC) is not submitted #38
Labels
No labels
ai-review-please
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
easyfix
enhancement
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quality/testdays-web#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When you have a test case which point to test case which is not a QA:Test Case, but a Doc or any external link, the app wont show the submitted result.
Ex: https://testdays.fedoraproject.org/events/179 --> Add results for "tutorials" --> The results gets submited but it doesnt show up.
This was a supported feature till https://testdays.fedoraproject.org/events/169. Watch out for the AWS column.
@frantisekz @jskladan ^^ please can this be fixed?
This is a regression and we are about to start Test Day season soon... it will be awesome to have this fixed!!
I agree this should be fixed, but at the same time I don't think this has Critical priority, because it can be very easily worked around by creating a wiki page which points to the external document. Sure, not ideal, but very simple.
@sumantrom I've finally had time to look into this. Nothing changed between the events, so the "external testcase urls" are supported still the same as before - which can be checked by submitting a result in the
/169AWS column (which gets successfully submitted and shown).I tested this in here: https://testdays.fedoraproject.org/events/2 adding the "working" AWS test and the "now" not working Tutorials url (see metadata at: https://fedoraproject.org/w/index.php?title=User:Jskladan/Sandbox:TestdayAppMockTestday&oldid=723590 ) Once again, the AWS works.
Testdays was not implemented with external urls in mind (way back when we only used Wiki), so it is basically an accident (read - oversight/bug in the original code :D) that some work.
The "not working" testcase is caused by the trailing slash in the url - there is some weird interaction between testdays and resultsdb, that ends up eating the data (I don't have access to the resutlsdb instance in question, so can't really debut).
Changing the url to not have trailing slashes makes the external url "work".
I've pushed a rudimentary "hotfix": https://pagure.io/fedora-qa/testdays-web/c/a88f16b1ac301882ba4e865e16352e26fbb3f3b4
Tested with this metadata: https://fedoraproject.org/wiki/User:Jskladan/Sandbox:TestdayAppMockTestday (see "external 4") and the result submission works as expected. So this should be OK for any new Test Days.
Metadata Update from @jskladan:
Metadata Update from @jskladan:
Metadata Update from @jskladan: