Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add tests for radius options in realTouch #32

Merged
merged 1 commit into from
Feb 21, 2021

Conversation

Andarist
Copy link
Collaborator

followup to #31

@dmtrKovalenko dmtrKovalenko changed the title test: add tests for radius options in realTouch chore: add tests for radius options in realTouch Feb 21, 2021
@dmtrKovalenko dmtrKovalenko merged commit 09bffe1 into dmtrKovalenko:develop Feb 21, 2021
dmtrKovalenko added a commit that referenced this pull request Mar 5, 2021
* 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]>
@dmtrKovalenko
Copy link
Owner

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

dmtrKovalenko added a commit that referenced this pull request May 31, 2021
* 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]>
dmtrKovalenko added a commit that referenced this pull request Jul 26, 2021
* 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

* Update cypress to v8

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]>
dmtrKovalenko added a commit that referenced this pull request Jul 26, 2021
* chore: backport changes (#90)

* 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]>

* chore(deps-dev): bump @typescript-eslint/parser from 4.24.0 to 4.26.0 (#92)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.24.0 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/parser)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/eslint-plugin (#91)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.25.0 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(Read

* chore(deps-dev): bump cypress from 7.4.0 to 7.6.0 (#111)

Bumps [cypress](https://github.com/cypress-io/cypress) from 7.4.0 to 7.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](cypress-io/cypress@v7.4.0...v7.6.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Remove validation of cypress iframe using id name (#124)

* chore(deps-dev): bump @typescript-eslint/eslint-plugin (#122)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.26.0 to 4.28.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.3/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump cypress from 7.6.0 to 7.7.0 (#120)

Bumps [cypress](https://github.com/cypress-io/cypress) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](cypress-io/cypress@v7.6.0...v7.7.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Cypress v8 (#131)

* 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

* Update cypress to v8

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]>

* chore(deps): Support cypress v8

* fix: Enter doesn't fire trust click event (#132)

* fix: Enter doesn't fire trust click event

* Commit fixture

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]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants