@c8y/ng1-modules 1018.503.23 → 1018.503.37
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.
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
title="{{ 'Request log file' | translate }}"
|
|
17
17
|
aria-haspopup="true"
|
|
18
18
|
type="button"
|
|
19
|
+
data-cy="logViewer--request-log-file"
|
|
19
20
|
uib-dropdown-toggle
|
|
20
21
|
>
|
|
21
22
|
<i c8y-icon="file-text"></i>
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
</button>
|
|
25
26
|
<ul
|
|
26
27
|
class="dropdown-menu dropdown-menu-right dropdown-menu-action-bar"
|
|
28
|
+
data-cy="logViewer--dropdown-menu-action-bar"
|
|
27
29
|
uib-dropdown-menu
|
|
28
30
|
>
|
|
29
31
|
<li class="dropdown-form">
|
|
@@ -63,6 +65,7 @@
|
|
|
63
65
|
required
|
|
64
66
|
ng-init="vm.logtypeSelect = $select"
|
|
65
67
|
ng-model="vm.filters.logFile"
|
|
68
|
+
data-cy="logViewer--filters-log-type"
|
|
66
69
|
>
|
|
67
70
|
<ui-select-match
|
|
68
71
|
title="{{ $select.selected.name }}"
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
<input
|
|
87
90
|
class="form-control"
|
|
88
91
|
placeholder="{{ 'Filter by text' | translate }}"
|
|
92
|
+
data-cy="logViewer--search-text"
|
|
89
93
|
ng-model="vm.filters.searchText"
|
|
90
94
|
ng-trim="false"
|
|
91
95
|
/>
|
|
@@ -99,6 +103,7 @@
|
|
|
99
103
|
type="number"
|
|
100
104
|
required
|
|
101
105
|
ng-model="vm.filters.maximumLines"
|
|
106
|
+
data-cy="logViewer--maximum-lines"
|
|
102
107
|
/>
|
|
103
108
|
</div>
|
|
104
109
|
<button
|
|
@@ -107,6 +112,7 @@
|
|
|
107
112
|
type="button"
|
|
108
113
|
ng-disabled="logRequestForm.$invalid"
|
|
109
114
|
ng-click="requestLogfile(vm.filters); isOpen = !isOpen"
|
|
115
|
+
data-cy="logViewer--request-log-file-button"
|
|
110
116
|
c8yProductExperience
|
|
111
117
|
[actionName]="PRODUCT_EXPERIENCE.EVENT"
|
|
112
118
|
[actionData]="{
|
|
@@ -214,6 +220,7 @@
|
|
|
214
220
|
ng-if="!hasLogFile(op) && isPending(op)"
|
|
215
221
|
popover-trigger="'mouseenter focus'"
|
|
216
222
|
ng-click="cancel(op)"
|
|
223
|
+
data-cy="logViewer--cancel-operation"
|
|
217
224
|
c8yProductExperience
|
|
218
225
|
[actionName]="PRODUCT_EXPERIENCE.EVENT"
|
|
219
226
|
[actionData]="{
|
|
@@ -240,6 +247,7 @@
|
|
|
240
247
|
title="{{ 'Expand' | translate }}"
|
|
241
248
|
type="button"
|
|
242
249
|
ng-click="op===selectedLog ? selectLogfile({}) :selectLogfile(op);"
|
|
250
|
+
data-cy="logViewer--Expand-button"
|
|
243
251
|
ng-if="hasLogFile(op)"
|
|
244
252
|
>
|
|
245
253
|
<i c8y-icon="chevron-down"></i>
|
|
@@ -257,21 +265,23 @@
|
|
|
257
265
|
<button
|
|
258
266
|
class="dropdown-toggle c8y-dropdown btn-link"
|
|
259
267
|
title="{{ 'Actions' | translate }}"
|
|
260
|
-
data-cy="index--dropdown-toggle--Action"
|
|
261
268
|
aria-haspopup="true"
|
|
262
269
|
type="button"
|
|
270
|
+
data-cy="index--dropdown-toggle--Action"
|
|
263
271
|
uib-dropdown-toggle
|
|
264
272
|
>
|
|
265
273
|
<i c8y-icon="ellipsis-v"></i>
|
|
266
274
|
</button>
|
|
267
275
|
<ul
|
|
268
276
|
class="dropdown-menu dropdown-menu-right"
|
|
277
|
+
data-cy="index--dropdown-menu-right"
|
|
269
278
|
uib-dropdown-menu
|
|
270
279
|
>
|
|
271
280
|
<li>
|
|
272
281
|
<button
|
|
273
282
|
title="{{ 'Delete log' | translate }}"
|
|
274
283
|
type="button"
|
|
284
|
+
data-cy="index--Delete-log-button"
|
|
275
285
|
ng-click="remove(op)"
|
|
276
286
|
>
|
|
277
287
|
<i c8y-icon="delete"></i>
|
|
@@ -283,6 +293,7 @@
|
|
|
283
293
|
title="{{ 'Download log' | translate }}"
|
|
284
294
|
href
|
|
285
295
|
ng-click="download(op)"
|
|
296
|
+
data-cy="index--Download-log-button"
|
|
286
297
|
c8yProductExperience
|
|
287
298
|
[actionName]="PRODUCT_EXPERIENCE.EVENT"
|
|
288
299
|
[actionData]="{
|
|
@@ -334,9 +345,10 @@
|
|
|
334
345
|
<dl
|
|
335
346
|
class="dl-inline small text-muted m-b-0"
|
|
336
347
|
ng-show="selectedLog.c8y_LogfileRequest.dateTo"
|
|
348
|
+
data-cy="logViewer--LogfileRequest.dateTo"
|
|
337
349
|
>
|
|
338
350
|
<dt translate>Date to</dt>
|
|
339
|
-
<dd ng-bind="selectedLog.c8y_LogfileRequest.dateTo | absoluteDate"></dd>
|
|
351
|
+
<dd ng-bind="selectedLog.c8y_LogfileRequest.dateTo | absoluteDate" data-cy="logViewer--LogfileRequest.dateFrom"></dd>
|
|
340
352
|
</dl>
|
|
341
353
|
|
|
342
354
|
<dl
|