Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specflow StepDefinitionReport #915

Closed
SamJongenelen opened this issue Aug 3, 2017 · 5 comments
Closed

Specflow StepDefinitionReport #915

SamJongenelen opened this issue Aug 3, 2017 · 5 comments

Comments

@SamJongenelen
Copy link
Contributor

SamJongenelen commented Aug 3, 2017

In the SpecFlow 2.2.0 Report Stepdefinition reporting:

The generated html from the specflow.exe stepdefinitionreport has broken [Copy] script.

This issue occurs at works so might be because of restrictions, using Windows 7 IE 9, EDGE and Chrome 59, so not really the IE compatibility issue I've read about

Exception:

StepDefinitionReport.html:223 Uncaught SyntaxError: Unexpected token ;
StepDefinitionReport.html:253 Uncaught ReferenceError: copyStepToClipboard is not defined
at HTMLAnchorElement.onclick (StepDefinitionReport.html:253)
StepDefinitionReport.html:253 Uncaught ReferenceError: copyStepToClipboard is not defined
at HTMLAnchorElement.onclick (StepDefinitionReport.html:253)

@SamJongenelen
Copy link
Contributor Author

SamJongenelen commented Aug 5, 2017

Found this:
https://stackoverflow.com/a/17378538

perhaps related? I will try and see if I can do something about it in the transformer
https://github.com/techtalk/SpecFlow/blob/21b7aa7bd0664927e3b48ca92c9b6563f06e9e53/TechTalk.SpecFlow.Reporting/Common/Common.xslt

@gasparnagy
Copy link
Contributor

@SamJongenelen Please do so. I am back from holidays and happy to help (on Gitter).

@SamJongenelen
Copy link
Contributor Author

Had my second attempt at this but still couldn't fix it 👎

@SabotageAndi
Copy link
Contributor

@SamJongenelen I merged a fix from @nemesv for this (#958) into master. Could you check it also?
Thanks!

@lock
Copy link

lock bot commented Jul 9, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants