Wrong dom element reference

41 views
Skip to first unread message

Tarsis Azevedo

unread,
May 25, 2013, 2:31:29 PM5/25/13
to ven...@googlegroups.com
Hi,

In my test I add a listener to scroll event with jquery in a element $("#some-div").

When I trigger this event in my test on $("some-div"), this is triggered in another element.

$("some-div") in test is different $("some-div") in my js module.

Do you know why this is happened?

Thanks for the help

Seth McLaughlin

unread,
May 25, 2013, 6:57:08 PM5/25/13
to ven...@googlegroups.com
Hi Travis,

Can you please provide:

  • The output of `venus -V`
  • A reduced repro including:
    • Your html fixture file
    • Your test file
    • Your source code that you are testing
This may be something related to GH-205, but it is hard to say without your repro in hand.

Thanks for using Venus :)

Best,
Seth
Reply all
Reply to author
Forward
0 new messages