6 | | |
7 | | 1. Create editor bot with the default configuration, open link dialog and check if alert is executed (if validator fails) if you entered JS link. You can use assert.throwsError to verify that alert was executed what, thanks to YUI Test, should throw an error. |
8 | | 2. Create second editor bot with the option set to true and verify the behaviour. |
| 6 | 1. Create editor bot with the default configuration, open link dialog and check if alert is executed (if validator fails) if you entered JS link. You can use assert.throwsError to verify that alert was executed what, thanks to YUI Test, should throw an error. |
| 7 | 2. Create second editor bot with the option set to true and verify the behaviour. |