deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject deltaspike git commit: fix broken test check
Date Wed, 12 Apr 2017 18:10:44 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 16396d8c8 -> 11f0e32c5


fix broken test check

Test was randomly broken when cv was the first parameter in the URL
The check was for "&cv=" but as first URL param it is "?cv=".
So we must only check for "cv="


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/11f0e32c
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/11f0e32c
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/11f0e32c

Branch: refs/heads/master
Commit: 11f0e32c57149689e5c6cec4761d0e5a8259b1e0
Parents: 16396d8
Author: Mark Struberg <struberg@apache.org>
Authored: Wed Apr 12 20:09:41 2017 +0200
Committer: Mark Struberg <struberg@apache.org>
Committed: Wed Apr 12 20:09:41 2017 +0200

----------------------------------------------------------------------
 .../view/navigation/parameter/uc004/NavigationParameterTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/11f0e32c/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/navigation/parameter/uc004/NavigationParameterTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/navigation/parameter/uc004/NavigationParameterTest.java
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/navigation/parameter/uc004/NavigationParameterTest.java
index 73efa9b..e5d74e5 100644
--- a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/navigation/parameter/uc004/NavigationParameterTest.java
+++ b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/navigation/parameter/uc004/NavigationParameterTest.java
@@ -84,7 +84,7 @@ public class NavigationParameterTest
         Assert.assertTrue(ExpectedConditions.textToBePresentInElement(By.id("simplePageConfig"),
                 "You arrived at simplePageConfig page")
                 .apply(driver));
-        Assert.assertTrue(driver.getCurrentUrl().contains("&cv="));
+        Assert.assertTrue(driver.getCurrentUrl().contains("cv="));
     }
 
 }


Mime
View raw message