Opened 3 years ago

Closed 3 years ago

#13859 closed Task (fixed)

createTestsForEditors should provide editor bot as a second argument

Reported by: Marek Lewandowski Owned by: Tomasz Jakut
Priority: Normal Milestone: CKEditor 4.5.5
Component: General Version: 4.5.4
Keywords: Cc:

Description

It's going to be way more convenient. Some tests need to use editorbot, and instead of going around and picking yourself by using bender.editorBots[ editor.name ] you can just use second parameter in your TC.

So you can end up with code like:

'test foo': function( editor, bot ) {
	bot.setHtmlWithSelection( '<p>foobar^</p>' );
	// ...
},

Change History (4)

comment:1 Changed 3 years ago by Marek Lewandowski

Status: newconfirmed
Type: BugTask

comment:2 Changed 3 years ago by Tomasz Jakut

Owner: set to Tomasz Jakut
Status: confirmedassigned

comment:3 Changed 3 years ago by Tomasz Jakut

Status: assignedreview

comment:4 Changed 3 years ago by Marek Lewandowski

Resolution: fixed
Status: reviewclosed

Cool! Fixed in git:aaf4c8d.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy