--- Problem resolved. see comment ---
pytest-html is great. When viewing the report locally I can click the check box [pass][fail][skip]. I also can click the sort button for each column
I use Jenkins "publish html report" to see the report on Jenkins. The column sort button is gone, the check boxes are gone. Thanks in advance.
pytest -vs ${test_suite} --url $url --junitxml ${test_suite_xml} --html=${test_suite_html}
pytest-html 1.19.0
Jenkins 2.121.2
html publisher plugin 1.16
Found the reason. Java Script is disabled. follow this link to set Content Security Policy
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
What confused me was, nothing seems happen after running that command. Here is why: