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

Unnecessary 'click' event is raised if a draggable element was dropped #1516

Closed
AlexanderMoskovkin opened this issue Jun 2, 2017 · 1 comment
Assignees
Labels
AREA: client STATE: Auto-locked An issue has been automatically locked by the Lock bot. TYPE: bug The described behavior is considered as wrong (bug).
Milestone

Comments

@AlexanderMoskovkin
Copy link
Contributor

The issue based on a comment

Test:

import { Selector } from 'testcafe';

fixture `Example page`
    .page `http://demo.erpnext.com`;

test('Check login', async t => {
    const login_btn = Selector('#login_btn');
    const task_icon = Selector('.case-wrapper[data-link="List/Task"]');
    const item_icon = Selector('.case-wrapper[data-link="List/Item"]');    

    await t
        .click(login_btn)
        .setTestSpeed(0.5)
        .dragToElement(task_icon, item_icon)
        .wait(1000)
});
  • testcafe version: 0.16.0-alpha4
@AlexanderMoskovkin AlexanderMoskovkin added AREA: client TYPE: bug The described behavior is considered as wrong (bug). labels Jun 2, 2017
@AlexanderMoskovkin AlexanderMoskovkin added this to the Sprint #7 milestone Jun 2, 2017
@AlexanderMoskovkin AlexanderMoskovkin self-assigned this Jun 2, 2017
AlexanderMoskovkin added a commit to AlexanderMoskovkin/testcafe that referenced this issue Jun 5, 2017
@lock
Copy link

lock bot commented Mar 29, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 29, 2019
kirovboris pushed a commit to kirovboris/testcafe-phoenix that referenced this issue Dec 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AREA: client STATE: Auto-locked An issue has been automatically locked by the Lock bot. TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

1 participant