Skip to content

Default deferred-error screenshot names to the running test method - #3297

Draft
labkey-tchad wants to merge 2 commits into
developfrom
fb_screenshot_default_test_name
Draft

labkey-tchad wants to merge 2 commits into
developfrom
fb_screenshot_default_test_name

Conversation

@labkey-tchad

@labkey-tchad labkey-tchad commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Rationale

Name deferred-error screenshots after the running test method by default, so tests don't have to invent a name when the method's name is identification enough.

Related Pull Requests

  • None

Changes

  • A null or blank screenshot name now defaults to the running test method's name, falling back to the existing generic name outside a test method.
  • withScreenshot() with no name also uses the running test method's name.
  • Tests can now look up the running test method's name.

@labkey-tchad labkey-tchad changed the title Default screenShotIfNewError name to the running test method Default deferred-error screenshot names to the running test method Nov 11, 2026
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.

1 participant