@c8y/ng1-modules 1017.211.0 → 1017.212.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.
@@ -6,6 +6,7 @@
6
6
  class="form-control"
7
7
  placeholder="{{ 'Date from' | translate }}"
8
8
  ng-model="ctrl.dateFrom"
9
+ data-cy="eventList--date-from"
9
10
  uib-datepicker-popup
10
11
  datepicker-options="ctrl.datePickerOptionsFrom"
11
12
  datepicker-append-to-body="true"
@@ -20,6 +21,7 @@
20
21
  class="form-control"
21
22
  placeholder="{{ 'Date to' | translate }}"
22
23
  ng-model="ctrl.dateTo"
24
+ data-cy="eventList--date-to"
23
25
  uib-datepicker-popup
24
26
  datepicker-options="ctrl.datePickerOptionsTo"
25
27
  datepicker-append-to-body="true"
@@ -33,6 +35,7 @@
33
35
  <div class="form-group m-r-md-8">
34
36
  <input
35
37
  title="{{ 'Event type' | translate }}"
38
+ data-cy="eventList--event-type"
36
39
  class="form-control"
37
40
  placeholder="{{ 'Event type' | translate }}"
38
41
  ng-model="ctrl.eventType"
@@ -42,6 +45,7 @@
42
45
  <button
43
46
  type="button"
44
47
  title="{{ 'Apply filters' | translate }}"
48
+ data-cy="eventList--apply-filters"
45
49
  class="btn btn-default m-r-md-8"
46
50
  ng-click="filter(ctrl.dateFrom, ctrl.dateTo, ctrl.eventType)"
47
51
  >
@@ -221,6 +225,7 @@
221
225
  <button
222
226
  type="button"
223
227
  title="{{ 'Expand' | translate }}"
228
+ data-cy="eventList--expand-details-btn"
224
229
  class="collapse-btn"
225
230
  ng-click="toggle(evt)"
226
231
  >
@@ -238,7 +243,7 @@
238
243
  <label class="small m-b-0 m-r-8 a-s-start">
239
244
  {{ 'Time' | translate }}
240
245
  </label>
241
- <span class="m-l-auto">
246
+ <span class="m-l-auto" data-cy="eventList--details-time">
242
247
  {{ evt.time | date: 'medium' }}
243
248
  </span>
244
249
  </li>
@@ -246,7 +251,7 @@
246
251
  <label class="small m-b-0 m-r-8 a-s-start">
247
252
  {{ 'Server creation time' | translate }}
248
253
  </label>
249
- <span class="m-l-auto">
254
+ <span class="m-l-auto" data-cy="eventList--details-server-creation-time">
250
255
  {{ evt.creationTime | date: 'medium' }}
251
256
  </span>
252
257
  </li>
@@ -257,7 +262,7 @@
257
262
  <label class="small m-b-0 m-r-8 a-s-start">
258
263
  {{ label | translate }}
259
264
  </label>
260
- <span class="m-l-auto">
265
+ <span class="m-l-auto" data-cy="eventList--details-type">
261
266
  {{ evt[key] }}
262
267
  </span>
263
268
  </li>
@@ -269,7 +274,7 @@
269
274
  <label class="small m-b-0 m-r-8 a-s-start">
270
275
  {{ key | humanize2 }}
271
276
  </label>
272
- <span class="m-l-auto">
277
+ <span class="m-l-auto" data-cy="eventList--details-get-non-standard-keys">
273
278
  {{ evt[key] | checkForDate: true:'medium' }}
274
279
  </span>
275
280
  </li>
@@ -3,6 +3,7 @@
3
3
  class="btn btn-link c8y-realtime"
4
4
  title="{{'Toggle realtime' | translate}}"
5
5
  ng-click="vm.toggle()"
6
+ data-cy="realtimebtn--realtime"
6
7
  >
7
8
  <span class="c8y-pulse" ng-class="vm.icon()"></span>
8
9
  <span translate>Realtime</span>
@@ -4,6 +4,7 @@
4
4
  class="btn btn-link"
5
5
  data-ng-disabled="!paging.refresh"
6
6
  data-ng-click="refresh()"
7
+ data-cy="refreshbtn--reload"
7
8
  >
8
9
  <i c8y-icon="refresh" data-ng-class="{'icon-spin': refreshLoading}"></i> {{ 'Reload' | translate }}
9
10
  </button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1017.211.0",
3
+ "version": "1017.212.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",