@c8y/ng1-modules 1017.74.0 → 1017.76.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1017.74.0",
3
+ "version": "1017.76.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -1,4 +1,4 @@
1
- <button title="{{ 'Create template' | translate }}" class="btn btn-link" ng-click="$ctrl.add()">
1
+ <button title="{{ 'Create template' | translate }}" class="btn btn-link" ng-click="$ctrl.add()" data-cy="toolbar-add-template">
2
2
  <i c8y-icon="plus-circle"></i>
3
3
  <translate>Create template</translate>
4
4
  </button>
@@ -81,6 +81,7 @@
81
81
  class="btn btn-primary"
82
82
  ng-click="$ctrl.ok()"
83
83
  ng-disabled="newSmartRestTemplateForm.$pending || newSmartRestTemplateForm.$invalid"
84
+ data-cy="add-smartRest-template"
84
85
  >
85
86
  {{ 'Continue' | translate }}
86
87
  </button>
@@ -361,6 +361,7 @@
361
361
  type="submit"
362
362
  class="btn btn-primary"
363
363
  ng-click="vm.save()"
364
+ data-cy="save-message"
364
365
  ng-disabled="requestTemplateForm.$invalid || requestTemplateForm.$pristine"
365
366
  >
366
367
  {{ 'Save' | translate }}
@@ -91,6 +91,7 @@
91
91
  class="btn btn-default"
92
92
  type="button"
93
93
  ng-click="$ctrl.newRequestTemplate()"
94
+ data-cy="add-message"
94
95
  >
95
96
  <i c8y-icon="plus-circle"></i>
96
97
  <translate>Add message</translate>