Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upThe report shows 404 on tabs: Timeline, Behavors, Packages #551
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ...
What is the current behavior?
Genarated report show 404 error on tabs: Timeline, Behavors, Packages
http://take.ms/R4KWH
http://take.ms/C89oh
http://take.ms/5RRIV
JS Errors:
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Then entire ignored class (@ignore) running by maven, allure generates report with "null" if fullName property.
For reproducing you can take allure-junit-example, change versions in pom to allure-junit4@2.0-BETA16 and 2.3.3, and added @ignore("ignore") to any class
allure-results json example
{"uuid":"0c45b88f-2709-44e1-af54-a164613b4a90","historyId":"363697b5c77f119aa9696e30041b0050","fullName":"my.company.tests.ParameterizedTest.null","labels":[{"name":"package","value":"my.company.tests"},{"name":"testClass","value":"my.company.tests.ParameterizedTest"},{"name":"testMethod"},{"name":"suite","value":"my.company.tests.ParameterizedTest"},{"name":"host","value":"PC"},{"name":"thread","value":"17248@PC.main(1)"}],"links":[],"status":"skipped","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"ignore"},"stage":"finished","start":1502433971691,"stop":1502433971691}my.company.tests.ParameterizedTest.null
Maybe related to #544
If I change "null" in json to "test" 404 error disappear, but this tabs looks weird
{"uuid":"0c45b88f-2709-44e1-af54-a164613b4a90","historyId":"363697b5c77f119aa9696e30041b0050","fullName":"my.company.tests.ParameterizedTest.test","labels":[{"name":"package","value":"my.company.tests"},{"name":"testClass","value":"my.company.tests.ParameterizedTest"},{"name":"testMethod"},{"name":"suite","value":"my.company.tests.ParameterizedTest"},{"name":"host","value":"PC"},{"name":"thread","value":"17248@PC.main(1)"}],"links":[],"status":"skipped","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"ignore"},"stage":"finished","start":1502433971691,"stop":1502433971691}What is the expected behavior?
Report showing tabs correctly even if allure xml results is broken.
Also need to fix generated report to except "null"
What is the motivation / use case for changing the behavior?
I find this error json from 300 test results, without it report works well.
Please tell us about your environment:
Other information
Allure 2.3.1 fails on report generation, 2.3.2 fails on report view (infinity loading and many js errors)
On junit adaptor 2.0-BETA15 json reports for ignored classes not generated.