Giter Site home page Giter Site logo

Comments (2)

davidbejarcaceres avatar davidbejarcaceres commented on July 17, 2024 4

Hello guys any news about this bug introduced in 2.1.0?

I found it because our Jenkins tests started to fail. I check the Cypress output steps, and realize the last steps of the drag&drop were not been executed, just ends abruptly, so it does perform the "drop".

This is a Critical bug for v2.1.0.

Iยดm sharing with you the Cypress panel so you can compare the v2.1.0 and v2.0.0.

It looks like the last 3 steps (corresponding to the actual "drop") are missing in v2.1.0:

  • Trigger drop (lines 57, 58).
  • Trigger mouseup (lines 59, 60)
  • trigger pointerup (lines 61-62)

ERROR v2.1.0 with, "drop" has not been performed:
Error v2 1 0 missing last lines

This is the test with v2.0.0, as you can see, between lines 57 and 62 performed the "drop action", those lines missing in v2.1.0 above:
Passed v2 0 0 no missing lines

I think the bug was introduced in the PR #86 index.js file:

31f0176#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346L133

As you can see, the line for drop has been removed:
.then(() => this.drop())

from cypress-drag-drop.

bierik avatar bierik commented on July 17, 2024

Can you give me more insight what the error is? Maybe a console output or a codesample on https://codesandbox.io/ or https://codepen.io/

from cypress-drag-drop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.