@c8y/ng1-modules 1018.54.0 → 1018.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@
9
9
  class="form-control"
10
10
  placeholder="{{ 'Search command by name or text' | translate }}"
11
11
  ng-model="commandsFilter.text"
12
+ data-cy="commandTemplates--search-command"
12
13
  />
13
14
  <span class="input-group-addon">
14
15
  <i c8y-icon="search" ng-hide="commandsFilter.text.length"></i>
@@ -17,6 +18,7 @@
17
18
  ng-show="commandsFilter.text.length"
18
19
  ng-click="commandsFilter.text=''"
19
20
  title="{{ 'Clear`input`' | translate }}"
21
+ data-cy="commandTemplates--icon-search"
20
22
  ></i>
21
23
  </span>
22
24
  </div>
@@ -28,6 +30,7 @@
28
30
  title="{{ 'Create a new command template' | translate }}"
29
31
  type="button"
30
32
  ng-show="vm.canWrite && !vm.newCommandTemplate"
33
+ data-cy="commandTemplates--new-command-template"
31
34
  >
32
35
  <i c8y-icon="plus-circle"></i>
33
36
  {{ 'New template' | translate }}
@@ -44,6 +47,7 @@
44
47
  required
45
48
  class="form-control"
46
49
  ng-model="vm.newCommandTemplate.name"
50
+ data-cy="commandTemplates--predefined-command-name"
47
51
  />
48
52
  </div>
49
53
  <div class="form-group">
@@ -53,6 +57,7 @@
53
57
  required
54
58
  class="form-control"
55
59
  ng-model="vm.newCommandTemplate.category"
60
+ data-cy="commandTemplates--predefined-command-category"
56
61
  />
57
62
  </div>
58
63
  <div class="form-group">
@@ -63,6 +68,7 @@
63
68
  class="form-control"
64
69
  rows="1"
65
70
  ng-model="vm.newCommandTemplate.command"
71
+ data-cy="commandTemplates--command-template"
66
72
  ></textarea>
67
73
  </div>
68
74
  <div class="form-group">
@@ -100,6 +106,7 @@
100
106
  class="list-item-actions"
101
107
  ng-if="commandTemplate.id && vm.canWrite"
102
108
  ng-click="$event.stopPropagation()"
109
+ data-cy="commandTemplates--list-item-dropdown"
103
110
  >
104
111
  <div
105
112
  class="dropdown settings"
@@ -195,6 +202,7 @@
195
202
  ng-click="vm.save()"
196
203
  ng-disabled="vm.forms.newCommandForm.$invalid"
197
204
  ng-show="vm.newCommandTemplate"
205
+ data-cy="commandTemplates--save"
198
206
  >
199
207
  {{ 'Save' | translate }}
200
208
  </button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1018.54.0",
3
+ "version": "1018.56.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",