Opened 11 years ago

Closed 11 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 11 years ago by Marek Lewandowski

Status: new → confirmed
Type: Bug → Task

comment:2 Changed 11 years ago by Tomasz Jakut

Owner: set to Tomasz Jakut
Status: confirmed → assigned

comment:3 Changed 11 years ago by Tomasz Jakut

Status: assigned → review

comment:4 Changed 11 years ago by Marek Lewandowski

Resolution: → fixed
Status: review → closed

Cool! Fixed in ​git:aaf4c8d.

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