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

In "Soft assets" mode, some errors do not have screenshots #385

Closed
asolntsev opened this issue Aug 28, 2016 · 1 comment
Closed

In "Soft assets" mode, some errors do not have screenshots #385

asolntsev opened this issue Aug 28, 2016 · 1 comment

Comments

@asolntsev
Copy link
Member

For example, when running Selenide's own test SoftAssertJUnitTest, it outputs null screenshot for the first 3 errors, but takes a screenshot for 4th and 5th errors:

java.lang.AssertionError: Test userCanUseSoftAssertWithJUnit(integration.SoftAssertJUnitTest) failed.
10 checks failed

FAIL #1: Element not found {#radioButtons input}
Expected: value '777'
Screenshot: null
Timeout: 0 ms.
Caused by: NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"#radioButtons input"}

FAIL #2: Element not found {#xxx}
Expected: visible
Screenshot: null
Timeout: 0 ms.
Caused by: NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"#xxx"}

FAIL #3: ListSizeMismatch : expected: = 888, actual: 0, collection: #radioButtons input
Elements: []
Screenshot: null
Timeout: 6 s.

FAIL #4: Element not found {#radioButtons}
Expected: exist
Screenshot: file:/D:/Workspace/SimpleTests/build/reports/tests/1471893247582.0.png
Timeout: 0 ms.
Caused by: NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"#radioButtons"}

FAIL #5: Element not found {#radioButtons}
Expected: exist
Screenshot: file:/D:/Workspace/SimpleTests/build/reports/tests/1471893247582.0.png
Timeout: 0 ms.
Caused by: NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"#radioButtons"}
...
@rosolko
Copy link
Collaborator

rosolko commented Mar 24, 2018

Looks like it was fixed with #659

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants