forked from ckeditor/ckeditor4
-
Notifications
You must be signed in to change notification settings - Fork 2
/
bender.js
129 lines (110 loc) · 3.73 KB
/
bender.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* jshint browser: false, node: true */
'use strict';
var config = {
applications: {
ckeditor: {
path: '.',
files: [
'ckeditor.js'
]
}
},
framework: 'yui',
plugins: [
'benderjs-yui',
'benderjs-sinon',
'benderjs-jquery',
'tests/_benderjs/ckeditor'
],
tests: {
'Adapters': {
applications: [ 'ckeditor' ],
basePath: 'tests/',
paths: [
'adapters/**',
'!**/_*/**'
],
// Latest of the old API (1.8.3)
// Latest of the 1.* branch
// Latest of the 2.* branch
jQuery: [ '1.8.3', '1.11.1', '2.1.1' ]
},
'Core': {
applications: [ 'ckeditor' ],
basePath: 'tests/',
paths: [
'core/**',
'!**/_*/**'
],
regressions: {
// IE8 (#11242)
'tests/core/style/editor#test apply inline style on non-editable inline element - at non-editable inline boundary': 'env.ie && env.version == 8',
'tests/core/style/editor#test remove inline style from non-editable inline element - at non-editable inline boundary': 'env.ie && env.version == 8',
// IE8 (fails only in testing env - window.window === window gives false)
'tests/core/tools#test_clone_Window': 'env.ie && env.version == 8',
// Safari (#11980)
'tests/core/editable/keystrokes/delbackspacequirks/collapsed#test backspace #2': 'env.safari',
'tests/core/editable/keystrokes/delbackspacequirks/collapsed#test backspace #3': 'env.safari',
'tests/core/editable/keystrokes/delbackspacequirks/collapsed#test backspace #9': 'env.safari',
'tests/core/editable/keystrokes/delbackspacequirks/collapsed#test backspace, merge #2': 'env.safari',
'tests/core/editable/keystrokes/delbackspacequirks/collapsed#test backspace, merge #3': 'env.safari',
'tests/core/editable/keystrokes/delbackspacequirks/collapsed#test backspace, merge #8': 'env.safari'
}
},
'Plugins': {
applications: [ 'ckeditor' ],
basePath: 'tests/',
paths: [
'plugins/**',
'!**/_*/**'
],
regressions: {
// IE10
'tests/plugins/ajax/ajax#test_loadXml_sync': 'env.ie && env.version > 9',
'tests/plugins/ajax/ajax#test_loadXml_async': 'env.ie && env.version > 9',
// IE8 (#11242)
'tests/plugins/indent/indent#test indent next to inline non-editable': 'env.ie && env.version == 8',
// IE8 (#11055)
'tests/plugins/widget/nestededitables#test pasting widget which was copied (d&d) when its nested editable was focused': 'env.ie && env.version == 8',
// Firefox (#11399)
'tests/plugins/widget/nestededitables#test selection in nested editable is preserved after opening and closing dialog - inline editor': 'env.gecko',
// https://bugzilla.mozilla.org/show_bug.cgi?id=911201
'tests/plugins/magicline/widgets#test commands[previous], first block in nested': 'env.gecko',
'tests/plugins/magicline/widgets#test commands[next], block after block in nested': 'env.gecko',
'tests/plugins/magicline/widgets#test commands[previous], block before block in nested': 'env.gecko',
'tests/plugins/magicline/widgets#test commands[next], last block in nested': 'env.gecko',
// Safari (#12690)
'tests/plugins/font/font#test apply font size over another font size (deeply nested collapsed selection)': 'env.safari'
}
},
'External Plugins': {
applications: [ 'ckeditor' ],
basePath: 'plugins/',
paths: [
'*/tests/**',
'!**/_*/**'
]
},
'Tickets': {
applications: [ 'ckeditor' ],
basePath: 'tests/',
paths: [
'tickets/**',
'!**/_*/**'
],
regressions: {
// IE8 & IE9 have problems with loading iframe.
'tests/tickets/11121/1#test HC detection in hidden iframe': 'env.ie && env.version < 10'
}
},
'Utils': {
applications: [ 'ckeditor' ],
basePath: 'tests/',
paths: [
'utils/**',
'!**/_*/**'
]
}
}
};
module.exports = config;