Opened 10 years ago
Closed 10 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 10 years ago by
| Status: | new → confirmed |
|---|---|
| Type: | Bug → Task |
comment:2 Changed 10 years ago by
| Owner: | set to Tomasz Jakut |
|---|---|
| Status: | confirmed → assigned |
comment:3 Changed 10 years ago by
| Status: | assigned → review |
|---|
comment:4 Changed 10 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review → closed |
Cool! Fixed in git:aaf4c8d.

Pushed branch:t/13859.