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

fix 'emptyMethod' folder name #1138

Merged

Conversation

dengayevskiy-sb
Copy link
Contributor

@dengayevskiy-sb dengayevskiy-sb commented Apr 29, 2020

Proposed changes

If Selenide is used with JUnit 5 all reports and screenshots about failed tests will be stored at '../UserRegistrationTests/emptyMethod/1588171516595.0.png'. It is inconvenient, because everything goes to the same folder. With this fix emptyMethod will be replaces with the actual test method name createUserAndLogin, like it is working in Selenide + JUnit 4.

Checklist

  • Checkstyle and unit tests are passed locally with my changes by running gradlew check chrome_headless firefox_headless command
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@asolntsev asolntsev self-requested a review April 29, 2020 21:05
@asolntsev asolntsev self-assigned this Apr 29, 2020
@asolntsev asolntsev requested a review from rosolko April 29, 2020 21:10
Copy link
Member

@asolntsev asolntsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dengayevskiy-sb Looks good!
You only need to fix checkstyle errors. See https://travis-ci.org/github/selenide/selenide/jobs/681169188 : some lines got too long now.

Copy link
Collaborator

@rosolko rosolko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@asolntsev asolntsev added this to the 5.12.0 milestone Apr 30, 2020
@asolntsev asolntsev merged commit 023c183 into selenide:master Apr 30, 2020
@asolntsev
Copy link
Member

@dengayevskiy-sb Thank you! Merged.

@dengayevskiy-sb dengayevskiy-sb deleted the fix-emptymethod-report-folder branch April 30, 2020 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants