GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(selenide): deduplicate attachments on nested step failures by chiragbitoni · Pull Request #1505 · allure-framework/allure-java ConversationFixes #1453 ProblemWhen Selenide executes nested steps (for instance, a custom high-level test step wrapping an element action or assertion), failure in an inner step triggers �fterEvent with EventStatus.FAIL for both the inner step and all enclosing steps during step commit. Previously, this caused duplicate screenshot and page source attachments to be added across every enclosing step for the exact same failure. Solution
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…e-framework#1453) When Selenide logs nested steps, failure in an inner step triggers afterEvent with FAIL for both the inner step and enclosing steps. Previously, this caused duplicate screenshots and page source attachments across all nesting levels. Track captured failure throwables using a WeakHashMap-backed set and verify the exception and its cause chain before capturing attachments, preventing duplicate attachments for the same failure while preserving attachments for distinct errors.
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |
There was an error while loading. Please reload this page.