bahmutov / bahmutov/cypress-map

mapChain is not working after cy.get command

Open
#68 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
61
Forks
3
Avg merge
4h 48m
Merged PRs (30d)
6

Description

cy.get command returns more than one jquery objects and if we use mapChain after cy,get, we get an error subject to be an array

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior with a Cypress cy.get command that returns multiple jQuery objects, then call mapChain on that result. Compare the resulting error with mapChain's expected subject shape; done means mapChain works correctly after cy.get returns multiple objects, with a regression test covering the case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.