Skip to content

Commit 68f6e86

Browse files
author
T_S_V
committed
Added testcafe infrastructure
1 parent ad34376 commit 68f6e86

File tree

9 files changed

+6583
-2194
lines changed

9 files changed

+6583
-2194
lines changed

examples/angular/index.html

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html>
3+
34
<head>
45
<title>Welcome to Angular</title>
56
<script src="https://npmcdn.com/core-js/client/shim.min.js"></script>
@@ -10,27 +11,46 @@
1011
<script src="https://npmcdn.com/@angular/[email protected]/bundles/common.umd.js"></script>
1112
<script src="https://npmcdn.com/@angular/[email protected]/bundles/compiler.umd.js"></script>
1213
<script src="https://npmcdn.com/@angular/[email protected]/bundles/platform-browser.umd.js"></script>
13-
<script src="https://npmcdn.com/@angular/[email protected]/bundles/platform-browser-dynamic.umd.js"></script>
14+
<script
15+
src="https://npmcdn.com/@angular/[email protected]/bundles/platform-browser-dynamic.umd.js"></script>
1416

1517
<script src="https://unpkg.com/jquery"></script>
1618
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css">
1719

1820
<!-- custom widgets -->
19-
<!-- select2 -->
20-
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
21-
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
22-
<!-- select2 -->
21+
<!-- select2 -->
22+
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
23+
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
24+
<!-- select2 -->
25+
<!-- sortable -->
26+
<script src="https://unpkg.com/[email protected]/Sortable.js"></script>
27+
<!-- bootstrap-datepicker -->
28+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.js"></script>
29+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css"
30+
type="text/css" rel="stylesheet" />
31+
<!-- bootstrap-datepicker -->
32+
<!-- jquery-ui-datepicker -->
33+
<script src="https://unpkg.com/jquery"></script>
34+
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
35+
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css" type="text/css"
36+
rel="stylesheet" />
37+
<!-- jquery-ui-datepicker -->
38+
39+
<script src="https://unpkg.com/easy-autocomplete"></script>
40+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
2341
<!-- eo custom widgets-->
2442

25-
<!-- <script src="https://unpkg.com/survey-angular"></script> TODO uncomment and remove the import below after the surveyjs release-->
26-
<script src="http://127.0.0.1:8080/packages/survey-angular/survey.angular.js"></script>
27-
43+
<script src="https://unpkg.com/survey-angular"></script>
44+
<!-- <script src="http://127.0.0.1:8080/packages/survey-angular/survey.angular.js"></script> -->
2845

2946
<script src="../../package/surveyjs-widgets.js"></script>
3047
</head>
3148

3249
<body>
3350
<ng-app></ng-app>
51+
<div id="surveyResult">
52+
</div>
3453
<script src="./index.js"></script>
3554
</body>
36-
</html>
55+
56+
</html>

examples/jquery/index.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,35 @@
1111
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
1212
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
1313
<!-- select2 -->
14-
<!-- eo custom widgets-->
15-
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css">
16-
<link rel="stylesheet" href="./index.css">
14+
<!-- sortable -->
15+
<script src="https://unpkg.com/[email protected]/Sortable.js"></script>
16+
<!-- bootstrap-datepicker -->
17+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.js"></script>
18+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css"
19+
type="text/css" rel="stylesheet" />
20+
<!-- bootstrap-datepicker -->
21+
<!-- jquery-ui-datepicker -->
22+
<script src="https://unpkg.com/jquery"></script>
1723
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
18-
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css" type="text/css" rel="stylesheet"
19-
/>
24+
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css" type="text/css"
25+
rel="stylesheet" />
26+
<!-- jquery-ui-datepicker -->
2027

21-
<!-- JS file -->
2228
<script src="https://unpkg.com/easy-autocomplete"></script>
23-
24-
<!-- CSS file -->
2529
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
30+
<!-- eo custom widgets-->
2631

27-
<!-- <script src="https://unpkg.com/survey-jquery"></script> TODO uncomment and remove the import below after the surveyjs release-->
28-
<script src="http://127.0.0.1:7777/packages/survey-jquery/survey.jquery.js"></script>
29-
32+
<script src="https://unpkg.com/survey-jquery"></script>
33+
<!-- <script src="http://127.0.0.1:7777/packages/survey-jquery/survey.jquery.js"></script> -->
3034

3135
<script src="../../package/surveyjs-widgets.js"></script>
3236
</head>
3337

3438
<body>
3539
<div id="surveyElement">
3640
</div>
41+
<div id="surveyResult">
42+
</div>
3743
<script src="./index.js"></script>
3844
</body>
3945

examples/knockout/index.html

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html>
3+
34
<head>
45
<title>Welcome to Knockout</title>
56
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"></script>
@@ -8,34 +9,40 @@
89
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css">
910

1011
<!-- custom widgets -->
11-
<!-- select2 -->
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
13-
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
14-
<!-- select2 -->
15-
<!-- sortable -->
16-
<script src="https://unpkg.com/[email protected]/Sortable.js"></script>
17-
<!-- bootstrap-datepicker -->
18-
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.js"></script>
19-
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css" type="text/css" rel="stylesheet"/>
20-
<!-- bootstrap-datepicker -->
21-
<!-- jquery-ui-datepicker -->
22-
<script src="https://unpkg.com/jquery"></script>
23-
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script><link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css" type="text/css" rel="stylesheet"/>
24-
<script src="https://unpkg.com/[email protected]/surveyjs-widgets.min.js"></script>
25-
<!-- jquery-ui-datepicker -->
12+
<!-- select2 -->
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
14+
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
15+
<!-- select2 -->
16+
<!-- sortable -->
17+
<script src="https://unpkg.com/[email protected]/Sortable.js"></script>
18+
<!-- bootstrap-datepicker -->
19+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.js"></script>
20+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css"
21+
type="text/css" rel="stylesheet" />
22+
<!-- bootstrap-datepicker -->
23+
<!-- jquery-ui-datepicker -->
24+
<script src="https://unpkg.com/jquery"></script>
25+
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
26+
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css" type="text/css"
27+
rel="stylesheet" />
28+
<!-- jquery-ui-datepicker -->
2629

30+
<script src="https://unpkg.com/easy-autocomplete"></script>
31+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
2732
<!-- eo custom widgets-->
2833

29-
<!-- <script src="https://unpkg.com/survey-knockout"></script> -->
30-
<script src="https://unpkg.com/survey-knockout"></script>
34+
<script src="https://unpkg.com/survey-knockout"></script>
3135
<!-- <script src="http://127.0.0.1:8080/packages/survey-knockout/survey.ko.js"></script> -->
32-
36+
3337
<script src="../../package/surveyjs-widgets.js"></script>
3438
</head>
3539

3640
<body>
37-
<div id="surveyElement">
38-
</div>
39-
<script src="./index.js"></script>
41+
<div id="surveyElement">
42+
</div>
43+
<div id="surveyResult">
44+
</div>
45+
<script src="./index.js"></script>
4046
</body>
41-
</html>
47+
48+
</html>

examples/react/index.html

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,53 @@
11
<!DOCTYPE html>
22
<html>
3+
34
<head>
45
<title>Welcome to React</title>
56
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.6.0/polyfill.js"></script>
67
<script src="https://unpkg.com/[email protected]/umd/react.development.js"></script>
78
<script src="https://unpkg.com/[email protected]/umd/react-dom.development.js"></script>
89
<script src="https://unpkg.com/@babel/[email protected]/babel.min.js"></script>
910

11+
1012
<script src="https://unpkg.com/jquery"></script>
1113
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css">
1214

1315
<!-- custom widgets -->
14-
<!-- select2 -->
15-
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
16-
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
17-
<!-- select2 -->
18-
<script src="https://unpkg.com/easy-autocomplete"></script><link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
16+
<!-- select2 -->
17+
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
18+
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
19+
<!-- select2 -->
20+
<!-- sortable -->
21+
<script src="https://unpkg.com/[email protected]/Sortable.js"></script>
22+
<!-- bootstrap-datepicker -->
23+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.js"></script>
24+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css"
25+
type="text/css" rel="stylesheet" />
26+
<!-- bootstrap-datepicker -->
27+
<!-- jquery-ui-datepicker -->
28+
<script src="https://unpkg.com/jquery"></script>
29+
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
30+
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css" type="text/css"
31+
rel="stylesheet" />
32+
<!-- jquery-ui-datepicker -->
33+
34+
<script src="https://unpkg.com/easy-autocomplete"></script>
35+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
1936
<!-- eo custom widgets-->
2037

21-
<!-- <script src="https://unpkg.com/survey-react"></script> -->
22-
<script src="http://127.0.0.1:7777/build/survey-react/survey.react.js"></script>
23-
38+
39+
<script src="https://unpkg.com/survey-react"></script>
40+
<!-- <script src="http://127.0.0.1:7777/build/survey-react/survey.react.js"></script> -->
2441

2542
<script src="../../package/surveyjs-widgets.js"></script>
2643
</head>
2744

2845
<body>
29-
<div id="surveyElement">
30-
</div>
31-
<div id="surveyResult">
32-
</div>
33-
<script type="text/babel" src="./index.js"></script>
46+
<div id="surveyElement">
47+
</div>
48+
<div id="surveyResult">
49+
</div>
50+
<script type="text/babel" src="./index.js"></script>
3451
</body>
35-
</html>
52+
53+
</html>

examples/vue/index.html

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html>
3+
34
<head>
45
<title>Welcome to Vue</title>
56
<script src="https://unpkg.com/vue/dist/vue.js"></script>
@@ -8,23 +9,41 @@
89
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css">
910

1011
<!-- custom widgets -->
11-
<!-- select2 -->
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
13-
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
14-
<!-- select2 -->
12+
<!-- select2 -->
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
14+
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
15+
<!-- select2 -->
16+
<!-- sortable -->
17+
<script src="https://unpkg.com/[email protected]/Sortable.js"></script>
18+
<!-- bootstrap-datepicker -->
19+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.js"></script>
20+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css"
21+
type="text/css" rel="stylesheet" />
22+
<!-- bootstrap-datepicker -->
23+
<!-- jquery-ui-datepicker -->
24+
<script src="https://unpkg.com/jquery"></script>
25+
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
26+
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css" type="text/css"
27+
rel="stylesheet" />
28+
<!-- jquery-ui-datepicker -->
29+
30+
<script src="https://unpkg.com/easy-autocomplete"></script>
31+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
1532
<!-- eo custom widgets-->
1633

17-
<!-- <script src="https://unpkg.com/survey-vue"></script> TODO uncomment and remove the import below after the surveyjs release-->
18-
<script src="http://127.0.0.1:8080/packages/survey-vue/survey.vue.js"></script>
19-
34+
<script src="https://unpkg.com/survey-vue"></script>
35+
<!-- <script src="http://127.0.0.1:8080/packages/survey-vue/survey.vue.js"></script> -->
2036

2137
<script src="../../package/surveyjs-widgets.js"></script>
2238
</head>
2339

2440
<body>
2541
<div id="surveyElement">
26-
<survey :survey='survey'/>
42+
<survey :survey='survey' />
43+
</div>
44+
<div id="surveyResult">
2745
</div>
2846
<script src="./index.js"></script>
2947
</body>
30-
</html>
48+
49+
</html>

0 commit comments

Comments
 (0)