microsoft / microsoft/BotFramework-WebChat

[Clean up] Organize test snapshots under folder structure

Open
#5,286 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-dx feature-request
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Is your feature request related to a problem?

Currently, it is very difficult to see what screenshot files belongs to which HTML.

Maybe we should organize the PNGs to be next to the HTML and have a folder structure around it. jest-image-snapshot prefer flat folder structure.

Describe the suggestion or request in detail

No response

Describe alternatives you have considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the existing screenshot and HTML fixtures, then inspect how jest-image-snapshot resolves snapshot paths. Confirm the desired folder convention with maintainers, reorganize the PNG snapshots accordingly, and verify that the snapshot test suite still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.