Opened 11 years ago
Closed 11 years ago
#13346 closed Bug (fixed)
[Regression] Widget undo test failure
| Reported by: | Olek Nowodziński | Owned by: | Piotrek Koszuliński |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.5.0 |
| Component: | Core : Undo & Redo | Version: | 4.5.0 |
| Keywords: | Cc: |
Description (last modified by )
Change History (8)
comment:1 Changed 11 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Can this be related to #13334? If yes, please also see other ticket from this user.
comment:4 Changed 11 years ago by
| Status: | new → confirmed |
|---|
comment:5 Changed 11 years ago by
| Owner: | set to Piotrek Koszuliński |
|---|---|
| Status: | confirmed → assigned |
comment:6 follow-up: 7 Changed 11 years ago by
| Status: | assigned → review |
|---|
There's a small mess in the dnd tests, because usually all three events - dragstart, drop and dragend are using the same mocked native event. It meant that e.g. all 3 events were fired with the same target. Moreover, this target was totally unrealistic because it was a typeless dom.domObject.
I made small cleanup here and there. Most importantly, the target is now set to more realistic values in the widget tests. And the widgets check the target the most, because it is important in dragstart and drop (hence test failure).
Changes in branch:t/13346.
comment:7 Changed 11 years ago by
| Status: | review → review_passed |
|---|
Replying to Reinmar:
Most importantly, the target is now set to more realistic values in the widget tests.
No, it was not ;P dragstart and dragend should have the same target which is dragged element, while drop target in the element on which we drop. Also if test emulate external drag and drop, so it has no dragstart, it should have no dragend too. I fixed this and push changes to the same branch. But I agree, there was a mess and the unrealistic target.
Check if changes makes sense and close this ticket if they do.
comment:8 Changed 11 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review_passed → closed |
Merged to major with git:ebc9132.

Works for me.