Skip to content

Commit

Permalink
chore: backport changes (#90)
Browse files Browse the repository at this point in the history
* 1.3.0 (#35)

* feat: add option changing scrolling behavior (#30)

* feat: allow changing scrolling behavior for realClick and realHover

* feat: Fallback to Cypress.config('scrollBehavior')

* feat: Add specs for scrollBehavior to click and hover

* fix: ignore TS errors or Cypress <6.1.0

* fix: remove false option for scrollBehavior

* fix: bump dev dependency for cypress to 6.1 for compilation error

* [] Move scrollBehavior specs directly into click.spec and hover.spec

* [] Fix failing swipe tests by passing scrollBehavior

* Reduce renames

* Remove unused option

Co-authored-by: Dmitriy Kovalenko <[email protected]>

* Add support for radius options in realTouch (#31)

* test: add test for radius options in realTouch (#32)

* fix(realTouch): accept 0 for position x/y values (#33)

* feat: Transpile files to cjs (#34)

* fix: calculate positions for elements inside iframes correctly (#29)

* fix: calculate positions for elements inside iframes correctly

* Handle iframes with scale transforms

* [] Refactor getCypressElementCoordinates to better handle scaled frames

* [] Add tests for click and hover in iframes

* [] Add HTML files to fixtures folder

* Remove unnecessary @ts-expect-error

* Change logic of get cypress element

* Make swipe tests retryable

Co-authored-by: Dmitriy Kovalenko <[email protected]>

* Fix touch radius test

Co-authored-by: Kevin Fleischman <[email protected]>
Co-authored-by: Mateusz Burzyński <[email protected]>
Co-authored-by: Izhaki <[email protected]>
Co-authored-by: Kevin Fleischman <[email protected]>

* Revert "1.3.0 (#35)"

This reverts commit db00220.

* chore(readme): Add badge and fix typo

Co-authored-by: Kevin Fleischman <[email protected]>
Co-authored-by: Mateusz Burzyński <[email protected]>
Co-authored-by: Izhaki <[email protected]>
Co-authored-by: Kevin Fleischman <[email protected]>
  • Loading branch information
5 people authored May 31, 2021
1 parent 712899e commit ed775ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<a href="https://www.npmjs.com/package/cypress-real-events">
<img src="https://img.shields.io/npm/v/cypress-real-events?style=for-the-badge" alt="npm version">
<a/>
<a href="https://www.npmjs.com/package/cypress-real-events">
<img src="https://img.shields.io/npm/dm/cypress-real-events?style=for-the-badge" alt="npm version">
<a/>
<a href="https://app.circleci.com/pipelines/github/dmtrKovalenko/cypress-real-events">
<img src="https://img.shields.io/circleci/build/github/dmtrKovalenko/cypress-real-events/main?style=for-the-badge" alt="npm version">
<a/>
Expand Down Expand Up @@ -265,7 +268,7 @@ Options:

## cy.realMouseUp

Fires native system mouse down event.
Fires native system mouse up event.

```jsx
cy.get("button").realMouseUp();
Expand Down

0 comments on commit ed775ce

Please sign in to comment.