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

Fixed Test Failure stacktrace, now it can contain elements with no fileName (default.ftl), for #312 #313

Merged
merged 2 commits into from Feb 18, 2016

Conversation

marek5050
Copy link
Contributor

Summary of this PR

Adds a default empty string "" into default.ftl template file to avoid crashing when a fileName is not provided for a function within the error stacktrace.

Adds a newline br tag into the stacktrace dialog, till now there were occasions where multiple functions fit on a single line.

Intended effect

Should prevent failure when a call in the stacktrace does not have an associated fileName.

How should this be manually tested?

Recreate an identical stack to #312.

Side effects

No.

Documentation

Not user facing and no new behavior.

Relevant tickets

#312

Screenshots (if appropriate)

Before:
before
After:
after

Error:
screen shot 2016-02-17 at 9 52 36 pm

wakaleo added a commit that referenced this pull request Feb 18, 2016
#312 On Test Failure stacktrace can contain elements with no fileName (default.ftl)
@wakaleo wakaleo merged commit a44d012 into serenity-bdd:master Feb 18, 2016
@wakaleo
Copy link
Member

wakaleo commented Feb 18, 2016

This looks fine, I'll incorporate it into the next release. thanks for your contribution!

@YamStranger YamStranger changed the title #312 On Test Failure stacktrace can contain elements with no fileName (default.ftl) Fixed Test Failure stacktrace, now it can contain elements with no fileName (default.ftl), for #312 Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants