This repository has been archived by the owner on Feb 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtest-harness.js
84 lines (69 loc) · 1.84 KB
/
test-harness.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
var Harness = Siesta.Harness.Browser.ExtJS;
Harness.configure({
title: 'ONC Test Suite',
overrideSetTimeout : false,
defaultTimeout : 60000,
waitForTimeout : 600000,
preload: [
"lib/ext-4.1/resources/css/ext-all.css",
"lib/ext-4.1/ext-all.js",
{
text:
"Ext.Loader.setConfig('paths', {" +
"'Ext': 'lib/ext-4.1/src'," +
"'Onc': './app'," +
"'Ext.ux': 'lib/ext-4.1/examples/ux' }); " +
"Ext.Loader.setConfig({ enabled : true})"
},
"lib/log4js/sm/log/log4js-ext-all.js",
"support.js",
"util.js",
"conf-default.js",
"config.js",
"app.js",
"lib/term/ShellInABox.js",
"lib/term/jquery.min.js",
// "lib/term/knockout-1.2.1.js",
// "lib/novnc/vnc.js"
"tests/utils/generalFunctions.js"
]
});
Harness.start(
{
group: 'Sanity',
items: [
'tests/010_sanity/010_sanity.t.js'
]
},
{
group: 'Administrator',
items: [
{
group: 'Visible elements',
items: [
'tests/administrator/020_visibility/021_negative_authentication.t.js',
'tests/administrator/020_visibility/020_admin_tabs_buttons.t.js'
]
},
{
group: 'VM management',
items: [
'tests/administrator/030_VMmanagement/030_add_VM.t.js',
'tests/administrator/030_VMmanagement/031_migrate_existingVM.t.js',
'tests/administrator/030_VMmanagement/032_migrate_newVM.t.js'
]
}
]
},
{
group: 'User',
items: [
{
group: 'Visible elements',
items: [
'tests/user/020_visibility/021_user_tabs_buttons.t.js'
]
}
]
}
);