This is an automated email from the ASF dual-hosted git repository.

scottyaslan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-registry.git


The following commit(s) were added to refs/heads/master by this push:
     new fee5a33  NIFIREG-263 Update HTML id references to data-automation-ids
fee5a33 is described below

commit fee5a33ce38d2a18e6a5e43542649b2e1ffe9c1a
Author: Andrew Lim <andrewlim.apa...@gmail.com>
AuthorDate: Thu May 2 20:36:12 2019 -0400

    NIFIREG-263 Update HTML id references to data-automation-ids
    
    This closes #180
    
    Signed-off-by: Scott Aslan <scottyas...@gmail.com>
---
 .../administration/users/dialogs/add-user/nf-registry-add-user.html   | 2 +-
 .../administration/users/nf-registry-users-administration.html        | 2 +-
 .../users/sidenav/manage-user/nf-registry-manage-user.html            | 4 ++--
 .../workflow/dialogs/create-bucket/nf-registry-create-bucket.html     | 2 +-
 .../administration/workflow/nf-registry-workflow-administration.html  | 4 ++--
 .../workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html     | 4 ++--
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user/nf-registry-add-user.html
 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user/nf-registry-add-user.html
index d7423ac..62eec9d 100644
--- 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user/nf-registry-add-user.html
+++ 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/dialogs/add-user/nf-registry-add-user.html
@@ -38,7 +38,7 @@ limitations under the License.
                 i18n="Cancel creation of new user|A button for cancelling the 
creation of a new user in the 
registry.@@nf-admin-workflow-create-bucket-button">
             Cancel
         </button>
-        <button [disabled]="newUserInput.value.length === 0" 
class="push-left-sm" id="add-new-user-button" (click)="addUser(newUserInput)" 
color="fds-primary" mat-raised-button
+        <button [disabled]="newUserInput.value.length === 0" 
class="push-left-sm" data-automation-id="add-new-user-button" 
(click)="addUser(newUserInput)" color="fds-primary" mat-raised-button
                 i18n="Add new user button|A button for adding a new user in 
the registry.@@nf-admin-workflow-add-user-button">
             Add
         </button>
diff --git 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/nf-registry-users-administration.html
 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/nf-registry-users-administration.html
index 7062f6b..5ba1a1b 100644
--- 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/nf-registry-users-administration.html
+++ 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/nf-registry-users-administration.html
@@ -24,7 +24,7 @@ limitations under the License.
                       (add)="nfRegistryService.usersSearchAdd($event)"
                       
(remove)="nfRegistryService.usersSearchRemove($event)"></td-chips>
             <div 
matTooltip="{{(!nfRegistryService.currentUser.resourcePermissions.tenants.canWrite)
 ? 'You do not have permission. Please contact your system administrator.': 
''}}">
-                <button id="add-user-button" class="push-top-sm push-right-sm" 
color="fds-secondary" mat-raised-button (click)="addUser()" 
[disabled]="!canEditUsers()">
+                <button data-automation-id="add-user-button" 
class="push-top-sm push-right-sm" color="fds-secondary" mat-raised-button 
(click)="addUser()" [disabled]="!canEditUsers()">
                     Add User
                 </button>
             </div>
diff --git 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/sidenav/manage-user/nf-registry-manage-user.html
 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/sidenav/manage-user/nf-registry-manage-user.html
index e1fb346..409dbd0 100644
--- 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/sidenav/manage-user/nf-registry-manage-user.html
+++ 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/users/sidenav/manage-user/nf-registry-manage-user.html
@@ -18,7 +18,7 @@ limitations under the License.
 <div fxFill>
     <div fxLayout="row" fxLayoutAlign="space-between center" class="pad-top-sm 
pad-bottom-md pad-left-md pad-right-md">
         <span class="md-card-title 
ellipsis">{{nfRegistryService.user.identity}}</span>
-        <button mat-icon-button id="nf-registry-manage-user-close-side-nav" 
(click)="closeSideNav()">
+        <button mat-icon-button 
data-automation-id="nf-registry-manage-user-close-side-nav" 
(click)="closeSideNav()">
             <mat-icon color="primary">close</mat-icon>
         </button>
     </div>
@@ -34,7 +34,7 @@ limitations under the License.
             </mat-input-container>
             <button [disabled]="nfRegistryService.user.identity === _username 
|| (nfRegistryService.currentUser.identity === nfRegistryService.user.identity) 
|| !nfRegistryService.user.configurable"
                     (click)="updateUserName(usernameInput.value)"
-                    id="nf-registry-manage-user-save-side-nav"
+                    data-automation-id="nf-registry-manage-user-save-side-nav"
                     class="input-button"
                     color="fds-regular"
                     mat-raised-button>
diff --git 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/dialogs/create-bucket/nf-registry-create-bucket.html
 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/dialogs/create-bucket/nf-registry-create-bucket.html
index c721c8a..843e570 100644
--- 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/dialogs/create-bucket/nf-registry-create-bucket.html
+++ 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/dialogs/create-bucket/nf-registry-create-bucket.html
@@ -38,7 +38,7 @@ limitations under the License.
                 i18n="Cancel creation of new bucket|A button for cancelling 
the creation of a new bucket in the 
registry.@@nf-admin-workflow-cancel-create-bucket-button">
             Cancel
         </button>
-        <button [disabled]="newBucketInput.value.length === 0" 
class="push-left-sm" id="create-new-bucket-button" 
(click)="createBucket(newBucketInput)" color="fds-primary" mat-raised-button
+        <button [disabled]="newBucketInput.value.length === 0" 
class="push-left-sm" data-automation-id="create-new-bucket-button" 
(click)="createBucket(newBucketInput)" color="fds-primary" mat-raised-button
                 i18n="Create new bucket button|A button for creating a new 
bucket in the registry.@@nf-admin-workflow-create-bucket-button">
             Create
         </button>
diff --git 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/nf-registry-workflow-administration.html
 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/nf-registry-workflow-administration.html
index 62de91a..b66aa74 100644
--- 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/nf-registry-workflow-administration.html
+++ 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/nf-registry-workflow-administration.html
@@ -24,7 +24,7 @@ limitations under the License.
                       (add)="nfRegistryService.bucketsSearchAdd($event)"
                       
(remove)="nfRegistryService.bucketsSearchRemove($event)"></td-chips>
             <div 
matTooltip="{{(!nfRegistryService.currentUser.resourcePermissions.buckets.canWrite)
 ? 'You do not have permission. Please contact your system administrator.': 
''}}">
-                <button id = "new-bucket-button"
+                <button data-automation-id = "new-bucket-button"
                         class="push-top-sm push-right-sm"
                         color="fds-secondary"
                         mat-raised-button
@@ -116,7 +116,7 @@ limitations under the License.
         </div>
         <div class="mat-padding" 
*ngIf="nfRegistryService.filteredBuckets.length === 0" layout="row"
              layout-align="center center">
-            <h3 id="no-buckets-message">No results to display.</h3>
+            <h3 data-automation-id="no-buckets-message">No results to 
display.</h3>
         </div>
     </div>
 </div>
diff --git 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
index 2fe52af..494521c 100644
--- 
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
+++ 
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
@@ -18,7 +18,7 @@ limitations under the License.
 <div fxFill>
     <div fxLayout="row" fxLayoutAlign="space-between center" class="pad-top-sm 
pad-bottom-md pad-left-md pad-right-md">
         <span class="md-card-title">{{nfRegistryService.bucket.name}}</span>
-        <button mat-icon-button id="nf-registry-manage-bucket-close-side-nav" 
(click)="closeSideNav()">
+        <button mat-icon-button 
data-automation-id="nf-registry-manage-bucket-close-side-nav" 
(click)="closeSideNav()">
             <mat-icon color="primary">close</mat-icon>
         </button>
     </div>
@@ -34,7 +34,7 @@ limitations under the License.
             </mat-input-container>
             <button [disabled]="nfRegistryService.bucket.name === bucketname"
                     (click)="updateBucketName(bucketnameInput.value)"
-                    id="nf-registry-manage-bucket-save-side-nav"
+                    
data-automation-id="nf-registry-manage-bucket-save-side-nav"
                     class="input-button"
                     color="fds-regular"
                     mat-raised-button>

Reply via email to