Opened 15 years ago

Last modified 14 years ago

#4252 assigned New Feature

Establish testing APIs for editor UI — at Version 7

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone:
Component: QA Version:
Keywords: Confirmed Cc:

Description (last modified by Garry Yao)

We could encapsulate APIs for functional testing, consider the following basic ones:

  1. Toolbar button clicking;
  2. Dialog controlling;
  3. Document selection and keystrokes;

Change History (12)

Changed 15 years ago by Garry Yao

Attachment: 4252.patch added

comment:1 Changed 15 years ago by Garry Yao

Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned

The patch implements Toolbar button clicking functionality while there's two noticeable changes :

  1. Ideally it's assumed that the testing API wouldn't touch any source codes, but in this special case where currently there's no way of understanding the UI objects' internal status( e.g. when a panel is loaded ) from outside, so I'm proposing of adding necessary event hooks for making it easier to work with them.
  2. It's also notice that the way how stuffs appeared on toolbar is designed make it very hard for tracing the related command,ui element, and toolbar items, which has also been identified by #4137, but here we need further changes in 'core/ui.js' to connect them tightly.

comment:2 Changed 15 years ago by Garry Yao

Ticket Test added at : http://ckeditor.t/tt/4252/4252.html.

Changed 15 years ago by Garry Yao

Attachment: 4252_2.patch added

comment:3 Changed 15 years ago by Garry Yao

Adding dialog controlling( population ) API, corresponding TC added at : http://ckeditor.t/tt/4252/2.html.

Changed 15 years ago by Garry Yao

Attachment: 4252_3.patch added

comment:4 Changed 15 years ago by Garry Yao

Adding editor selection API, corresponding TC added at : http://ckeditor.t/tt/4252/3.html.

comment:5 Changed 15 years ago by Garry Yao

Updating editor selection API, corresponding TC added at : http://ckeditor.t/tt/4252/4.html.

Changed 15 years ago by Garry Yao

Attachment: 4252_4.patch added

Changed 15 years ago by Garry Yao

Attachment: 4252_5.patch added

comment:6 Changed 15 years ago by Garry Yao

Updating editor typing API, corresponding TC added at : http://ckeditor.t/tt/4252/4.html.

comment:7 Changed 15 years ago by Garry Yao

Description: modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy