NicholasBoll/cypress-pipe
### [`v2.0.0`](https://togithub.com/NicholasBoll/cypress-pipe/blob/HEAD/CHANGELOG.md#200)
[Compare Source](https://togithub.com/NicholasBoll/cypress-pipe/compare/v1.7.0...v2.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:
```js
cy.get('.foobar').within(() => {
cy.pipe(el => el) // el is the body element
})
```
After:
```js
cy.get('.foobar').within(() => {
cy.pipe(el => el) // el is the element with a `foobar` class name
})
```
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.7.0
->2.0.0
Release Notes
NicholasBoll/cypress-pipe
### [`v2.0.0`](https://togithub.com/NicholasBoll/cypress-pipe/blob/HEAD/CHANGELOG.md#200) [Compare Source](https://togithub.com/NicholasBoll/cypress-pipe/compare/v1.7.0...v2.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: ```js cy.get('.foobar').within(() => { cy.pipe(el => el) // el is the body element }) ``` After: ```js cy.get('.foobar').within(() => { cy.pipe(el => el) // el is the element with a `foobar` class name }) ```Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.