16825 |
efrain |
1 |
@bender-tags: exportpdf, feature, 11
|
|
|
2 |
@bender-ui: collapsed
|
|
|
3 |
@bender-include: ../_helpers/tools.js
|
|
|
4 |
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, notification
|
|
|
5 |
|
|
|
6 |
**Note:** At the beginning open the console.
|
|
|
7 |
|
|
|
8 |
1. Click `Export to PDF` button (the one next to the `Source` button) in the first editor.
|
|
|
9 |
1. Wait for the file to download.
|
|
|
10 |
1. Open the file.
|
|
|
11 |
|
|
|
12 |
**Expected:**
|
|
|
13 |
|
|
|
14 |
* Empty file was downloaded.
|
|
|
15 |
* No errors in console.
|
|
|
16 |
|
|
|
17 |
**Unexpected:**
|
|
|
18 |
|
|
|
19 |
* File wasn't downloaded.
|
|
|
20 |
* File was downloaded but can't be opened.
|
|
|
21 |
* Error in the console appeared.
|
|
|
22 |
|
|
|
23 |
1. Click `Export to PDF` button in the second editor.
|
|
|
24 |
|
|
|
25 |
**Expected:**
|
|
|
26 |
|
|
|
27 |
* File wasn't downloaded.
|
|
|
28 |
* The notification with error appeared in the editor.
|
|
|
29 |
* There is an error message in the console.
|
|
|
30 |
|
|
|
31 |
**Unexpected:**
|
|
|
32 |
|
|
|
33 |
* File was downloaded and can't be opened.
|
|
|
34 |
* Success notification was displayed.
|