Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 480 Bytes

CHANGELOG.md

File metadata and controls

21 lines (16 loc) · 480 Bytes

2.0.0

  • feat: Add support for cy.within.

BREAKING CHANGE:

Previously cy.pipe() without a previous chain would fall back to using the body element always. Now, if the cy.pipe is inside a cy.within, the withinSubject will be used instead.

Before:

cy.get('.foobar').within(() => {
  cy.pipe(el => el) // el is the body element
})

After:

cy.get('.foobar').within(() => {
  cy.pipe(el => el) // el is the element with a `foobar` class name
})