@c8y/ng1-modules 1018.484.14 → 1018.485.2

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.
package/NOTICES CHANGED
@@ -39914,7 +39914,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
39914
39914
 
39915
39915
  -----
39916
39916
 
39917
- The following software may be included in this product: unique-filename. A copy of the source code may be downloaded from https://github.com/npm/unique-filename.git. This software contains the following license and notice below:
39917
+ The following software may be included in this product: unique-filename. A copy of the source code may be downloaded from https://github.com/iarna/unique-filename.git. This software contains the following license and notice below:
39918
39918
 
39919
39919
  Copyright npm, Inc
39920
39920
 
@@ -39924,7 +39924,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE
39924
39924
 
39925
39925
  -----
39926
39926
 
39927
- The following software may be included in this product: unique-slug. A copy of the source code may be downloaded from https://github.com/npm/unique-slug.git. This software contains the following license and notice below:
39927
+ The following software may be included in this product: unique-slug. A copy of the source code may be downloaded from git://github.com/iarna/unique-slug.git. This software contains the following license and notice below:
39928
39928
 
39929
39929
  The ISC License
39930
39930
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1018.484.14",
3
+ "version": "1018.485.2",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -53,8 +53,8 @@
53
53
  ng-click="vm.connect()"
54
54
  ng-disabled="vm.isDisabled(vm.endpoint)"
55
55
  >
56
- <i ng-if="!vm.endpoint.connection.status" c8y-icon="disconnected"></i>
57
- <i ng-if="vm.endpoint.connection.status" c8y-icon="eye"></i>
56
+ <i ng-if="!vm.endpoint.connection.status" data-cy="remoteAccessEndpointCard--icon-disconnected" c8y-icon="disconnected"></i>
57
+ <i ng-if="vm.endpoint.connection.status" data-cy="remoteAccessEndpointCard--connection-status-eye" c8y-icon="eye"></i>
58
58
  </button>
59
59
  </div>
60
60
  </div>
@@ -72,13 +72,13 @@
72
72
  </button>
73
73
  <ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu>
74
74
  <li>
75
- <button type="button" title="{{ 'Edit' | translate }}" ng-click="vm.edit()">
75
+ <button type="button" title="{{ 'Edit' | translate }}" data-cy="remoteAccessEndpointCard--edit-option" ng-click="vm.edit()">
76
76
  <i c8y-icon="pencil"></i>
77
77
  {{ 'Edit' | translate }}
78
78
  </button>
79
79
  </li>
80
80
  <li>
81
- <button type="button" title="{{ 'Remove' | translate }}" ng-click="vm.remove()">
81
+ <button type="button" title="{{ 'Remove' | translate }}" data-cy="remoteAccessEndpointCard--remove-option" ng-click="vm.remove()">
82
82
  <i c8y-icon="minus-circle"></i>
83
83
  {{ 'Remove' | translate }}
84
84
  </button>
@@ -12,6 +12,7 @@
12
12
  name="name"
13
13
  class="form-control"
14
14
  ng-model="vm.endpoint.config.name"
15
+ data-cy="remoteAccessEndpointModal--name"
15
16
  placeholder="{{ 'e.g. My remote access endpoint' | translate }}"
16
17
  ng-maxlength="1000"
17
18
  required
@@ -29,6 +30,7 @@
29
30
  name="protocol"
30
31
  class="form-control"
31
32
  ng-model="vm.selectedProtocol"
33
+ data-cy="remoteAccessEndpointModal--protocol"
32
34
  ng-options="p as (p.label | translate) for p in vm.protocols"
33
35
  ng-change="vm.onProtocolChange()"
34
36
  required
@@ -46,6 +48,7 @@
46
48
  id="credentialsType"
47
49
  name="credentialsType"
48
50
  class="form-control"
51
+ data-cy="remoteAccessEndpointModal--credentials-type"
49
52
  ng-model="vm.selectedCredentialsType"
50
53
  ng-options="ct as (ct.label | translate) for ct in vm.selectedProtocol.supportedCredentialsTypes"
51
54
  ng-change="vm.onCredentialsTypeChange()"
@@ -471,6 +474,7 @@
471
474
  <button
472
475
  class="btn btn-primary"
473
476
  type="button"
477
+ data-cy="remoteAccessEndpointModal--button-save"
474
478
  title="{{ 'Save' | translate }}"
475
479
  ng-disabled="endpointForm.$pending || endpointForm.$invalid"
476
480
  ng-click="vm.save()"
@@ -4,6 +4,7 @@
4
4
  title="{{ 'Add endpoint' | translate }}"
5
5
  class="btn btn-link"
6
6
  ng-click="vm.addEndpoint()"
7
+ data-cy="remoteAccessEndpointsList--endpoint"
7
8
  >
8
9
  <i c8y-icon="plus-circle"></i>
9
10
  {{ 'Add endpoint' | translate }}