algolia / algolia/jest-serializer-html

Replace/Filter dynamic values in attributes

Open
#27 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
53
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Using v-for on inputs with labels generates can generate a random `for` and matching `id`. It would be cool if there was an option similar to the property matcher where you could define those.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the serializer's existing property-matcher behavior and its unit tests, then trace how v-for-generated label for/id attributes are serialized. Define the expected option behavior for those dynamic values and verify it with snapshot coverage for matching label and id pairs.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.