NicholasBoll/cypress-pipe (cypress-pipe)
### [`v2.0.0`](https://redirect.github.com/NicholasBoll/cypress-pipe/blob/HEAD/CHANGELOG.md#200)
[Compare Source](https://redirect.github.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 - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), 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 contains the following updates:
1.7.0
->2.0.0
Release Notes
NicholasBoll/cypress-pipe (cypress-pipe)
### [`v2.0.0`](https://redirect.github.com/NicholasBoll/cypress-pipe/blob/HEAD/CHANGELOG.md#200) [Compare Source](https://redirect.github.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 - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), 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 was generated by Mend Renovate. View the repository job log.