nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kdo...@apache.org
Subject [nifi-registry] branch main updated: NIFIREG-425 Update automated UI tests with correct URL
Date Thu, 22 Oct 2020 19:00:27 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
     new c5215c9  NIFIREG-425 Update automated UI tests with correct URL
c5215c9 is described below

commit c5215c9a3bcbd7a50f32645c93622edab7e2e02f
Author: Andrew Lim <andrewlim.apache@gmail.com>
AuthorDate: Fri Oct 16 12:05:31 2020 -0400

    NIFIREG-425 Update automated UI tests with correct URL
    
    This closes #307.
    
    Signed-off-by: Kevin Doran <kdoran@apache.org>
---
 .../src/test/java/org/apache/nifi/registry/ui/ITCreateBucket.java | 2 +-
 .../java/org/apache/nifi/registry/ui/ITCreateBucketCancel.java    | 2 +-
 .../java/org/apache/nifi/registry/ui/ITCreateDuplicateBucket.java | 2 +-
 .../java/org/apache/nifi/registry/ui/ITCreateMultipleBuckets.java | 8 ++++----
 .../java/org/apache/nifi/registry/ui/ITDeleteSingleBucket.java    | 2 +-
 .../org/apache/nifi/registry/ui/ITDeleteSingleBucketCancel.java   | 2 +-
 .../src/test/java/org/apache/nifi/registry/ui/ITRenameBucket.java | 2 +-
 .../java/org/apache/nifi/registry/ui/ITRenameBucketDuplicate.java | 2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucket.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucket.java
index 5768748..31d7315 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucket.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucket.java
@@ -55,7 +55,7 @@ public class ITCreateBucket {
     @Test
     public void testCreateBucket() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));
diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucketCancel.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucketCancel.java
index 86d17db..f23fdf2 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucketCancel.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateBucketCancel.java
@@ -51,7 +51,7 @@ public class ITCreateBucketCancel {
     @Test
     public void testCreateBucketCancel() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));
diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateDuplicateBucket.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateDuplicateBucket.java
index 301519a..79de5ae 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateDuplicateBucket.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateDuplicateBucket.java
@@ -56,7 +56,7 @@ public class ITCreateDuplicateBucket {
     @Test
     public void testCreateDuplicateBucket() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));
diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateMultipleBuckets.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateMultipleBuckets.java
index 54f54aa..c9011ab 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateMultipleBuckets.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateMultipleBuckets.java
@@ -55,7 +55,7 @@ public class ITCreateMultipleBuckets {
     @Test
     public void testCreateMultipleBuckets() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));
@@ -84,7 +84,7 @@ public class ITCreateMultipleBuckets {
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("#mat-checkbox-2
> label.mat-checkbox-layout > div.mat-checkbox-inner-container")));
 
         // select keep dialog open checkbox
-        WebElement keepOpenCheckbox = driver.findElement(By.cssSelector("#mat-checkbox-2
> label.mat-checkbox-layout > div.mat-checkbox-inner-container"));
+        WebElement keepOpenCheckbox = driver.findElement(By.cssSelector("#mat-checkbox-3
> label.mat-checkbox-layout > div.mat-checkbox-inner-container"));
         keepOpenCheckbox.click();
 
         // confirm create bucket button exists
@@ -105,10 +105,10 @@ public class ITCreateMultipleBuckets {
         bucketNameInput.sendKeys("DEF");
 
         // confirm keep dialog open checkbox exists
-        wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("#mat-checkbox-2
> label.mat-checkbox-layout > div.mat-checkbox-inner-container")));
+        wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("#mat-checkbox-3
> label.mat-checkbox-layout > div.mat-checkbox-inner-container")));
 
         // select keep dialog open checkbox
-        keepOpenCheckbox = wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("#mat-checkbox-2
> label.mat-checkbox-layout > div.mat-checkbox-inner-container")));
+        keepOpenCheckbox = wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("#mat-checkbox-3
> label.mat-checkbox-layout > div.mat-checkbox-inner-container")));
         keepOpenCheckbox.click();
 
         // confirm create bucket button exists
diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucket.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucket.java
index 53ba453..c9980d5 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucket.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucket.java
@@ -54,7 +54,7 @@ public class ITDeleteSingleBucket {
     @Test
     public void testDeleteSingleBucket() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));
diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucketCancel.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucketCancel.java
index 80a34c2..4d2863d 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucketCancel.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITDeleteSingleBucketCancel.java
@@ -55,7 +55,7 @@ public class ITDeleteSingleBucketCancel {
     @Test
     public void testDeleteSingleBucketCancel() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));
diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucket.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucket.java
index 917faa6..66773eb 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucket.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucket.java
@@ -56,7 +56,7 @@ public class ITRenameBucket {
     @Test
     public void testRenameBucket() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));
diff --git a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucketDuplicate.java
b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucketDuplicate.java
index ec15a68..a66f6d5 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucketDuplicate.java
+++ b/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITRenameBucketDuplicate.java
@@ -56,7 +56,7 @@ public class ITRenameBucketDuplicate {
     @Test
     public void testRenameBucketDuplicate() throws Exception {
         // go directly to settings by URL
-        driver.get(baseUrl + "/administration/workflow");
+        driver.get(baseUrl + "/#/administration/workflow");
 
         // wait for administration route to load
         wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("[data-automation-id='no-buckets-message']")));


Mime
View raw message